Idea is that if GC makes measuring memory usage of a process not reliable we can do our best to add up the size of each object inside the program itself and report back something like the sum of (array elements)*(element size) for each array in a cache or something.
Julia has Base.summarysize. this maybe a stronger argument than measuring the allocations?
Idea is that if GC makes measuring memory usage of a process not reliable we can do our best to add up the size of each object inside the program itself and report back something like the sum of (array elements)*(element size) for each array in a cache or something.
Julia has Base.summarysize. this maybe a stronger argument than measuring the allocations?