epicycloids
epicycloids2mo ago

Memory Leak

See the attached code. If I assign a large numpy array to a cell-scoped variable, then after the cell is done running the memory is still occupied (about 7.5 GB). If I rename the cell-scoped variable and rerun, then the old memory still remains occupied and a new, large chunk of memory is allocated (so now taking about 15 GB).
No description
No description
3 Replies
Akshay
Akshay2mo ago
Thanks for reporting, definitely a bug. We may have overlooked clearing temporary variables. Can you do me a favor and post this on GitHub so we can track it? You can paste the exact same text / images, no need to fill out the bug report template.
epicycloids
epicycloidsOP2mo ago
Sure
Akshay
Akshay2mo ago
Thank you!