Skip to content

Memory leak in DNDarray.larray #810

Closed
@ClaudiaComito

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.

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions