I tried to use the new Profile.take_heap_snapshot
function, by following the steps provided in the blog post (on of my Pluto notebooks takes a lot of memory, and I’d like to understand where this comes from)
However, I don’t actually know how to interpret the results I get (never used a heap snapshot before). I think I get the difference between shallow vs retained size (what size the object takes vs what size could be freed if it was deleted?), but there are no variable names at top level, only things like <inline>
, (jl_array_t)
etc. The fact that I took a snapshot from a Pluto notebook probably didn’t help either. So, how do I proceed from there?
Here is a screenshot of the view: