go-delve / delve

Delve is a debugger for the Go programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proposal: support outputting Flame Graph for heap object references to troubleshoot memory leaks

jayantxie opened this issue · comments

As the title suggests, the profile output from go pprof only records the function stack where objects are created, but it doesn't provide information about object reference relationships. I would like to generate a flame graph that can quickly locate the GC roots and reference chains for a heap object that is causing significant memory leaks. This would help in identifying the memory leak issue more effectively.

Duplicate of #2655

You should try viewcore, the problem is that it's maintainance is spotty.