Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sankey view of Go heap dump #2

Open
bboreham opened this issue Jun 30, 2021 · 2 comments
Open

Sankey view of Go heap dump #2

bboreham opened this issue Jun 30, 2021 · 2 comments

Comments

@bboreham
Copy link
Owner

bboreham commented Jun 30, 2021

My internal concept of this tool comes from the .Net CLR Profiler I used to use ten years ago.
Here is a description from MSDN Magazine.

The old CLR code is here

The Sankey view of which objects are retaining which other objects is (I think) just what you need when you can't figure out why the heap is so large.

The viewcore program seems a great place to start, though it needs some updating for Go 1.16 golang/debug#7 and golang/debug#5

@mvdan
Copy link

mvdan commented Nov 18, 2021

view of which objects are retaining which other objects is (I think) just what you need when you can't figure out why the heap is so large

Let me know if you ever build something like this :) Currently trying to get some use out of viewcore, but like you say, it's a bit outdated.

@bboreham
Copy link
Owner Author

Over Xmas I tried to get viewcore more up-to-date: golang/debug@master...bboreham:go-debug:go-1-20

Unfortunately Go 1.22 moved it further away again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants