heapview

package module
v0.0.0-...-776f117 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 4 Imported by: 0

README

Go heap dump inspector

GoDoc

This is a PoC software

View contents of the heap dump file:

go run ./cmd/heapview/... dump heapdump.dat

Find pointers that are rooted in the stack frames and walk owned pointers to get the whole graph with total object count:

go run ./cmd/heapview/... owned heapdump.dat

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupHandler

func SetupHandler(dumpFileFn func() string, signum ...os.Signal)

SetupHandler sets up a handler to dump heap on certain signal

Types

This section is empty.

Directories

Path Synopsis
cmd
example
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL