Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in DNDarray.larray #810

Closed
ClaudiaComito opened this issue Jun 16, 2021 · 0 comments · Fixed by #811
Closed

Memory leak in DNDarray.larray #810

ClaudiaComito opened this issue Jun 16, 2021 · 0 comments · Fixed by #811
Assignees
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@ClaudiaComito
Copy link
Contributor

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.

@ClaudiaComito ClaudiaComito added bug Something isn't working enhancement New feature or request labels Jun 16, 2021
@ClaudiaComito ClaudiaComito added this to the 1.1.x milestone Jun 16, 2021
@ClaudiaComito ClaudiaComito self-assigned this Jun 16, 2021
@ClaudiaComito ClaudiaComito added this to To do in ASSET Support via automation Jun 16, 2021
ASSET Support automation moved this from To do to Done Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
ASSET Support
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant