Get help from the marimo community

Updated 3 months 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).
Attachments
image.png
image.png
A
e
4 comments
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.
Add a reply
Sign up and join the conversation on Discord