-
Beta Was this translation helpful? Give feedback.
Answered by
pablogsal
Jan 19, 2024
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Makhbaz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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