Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.34 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.34 KB

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