Skip to content

Resident Size in Flamegraph #527

Closed Answered by pablogsal
Makhbaz asked this question in Q&A
Discussion options

You must be logged in to vote

Unofortunately there is no way to map resident size to specific allocations because what makes resident size grow or shrink is detached from the allocators themselves. For example, resident size can grow when the OS actually has to allocate memory that has been requested via mmap but can suddenly shrink for no apparent reason because pages are being swaped out. You can find more information about this in https://bloomberg.github.io/memray/memory.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Makhbaz
Comment options

Answer selected by Makhbaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants