Skip to content

Go heap dump viewer with object graphs. (Works with Go 1.21)

Notifications You must be signed in to change notification settings

burntcarrot/heapview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heapview

A tiny, experimental heap dump viewer for Go heap dumps. (for heap dumps produced by debug.WriteHeapDump())

Tested on Go 1.21.0.

Installation

The easiest way to get started is to install heapview by downloading the releases.

Usage

heapview -file=<heapdump_path>

On running heapview, the server would serve the HTML view at localhost:8080:

Records View

Graph view:

Graph View

Future work

heapview is a small tool, but can be improved with the following features:

  • a good, responsive Object Graph viewer, which could redirect to the record on interactions with the nodes
  • a way to extract type information from the heap dumps
  • an easier way to be in sync with the Go runtime changes

If you'd like to contribute to the following, please consider raising a pull request!

Acknowledgements

About

Go heap dump viewer with object graphs. (Works with Go 1.21)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published