Closed
Description
Description
Line caller = stack()[1]
in the larray
setter introduces a memory leak. The following is from testing ASSET with heat. This is what the first larray
call does:
(...)
LARRAY.SETTER: AFTER sanitize_lshape: Current memory usage is 0.143556MB; Peak was 3.089049MB
LARRAY.SETTER: AFTER setting balanced: Current memory usage is 0.143556MB; Peak was 3.089049MB
LARRAY.SETTER: AFTER stack(): Current memory usage is 1.06604MB; Peak was 3.089637MB
Every subsequent larray
call pushes the memory usage up - not by so much, but still visibly.