How to delete the memory? #19135
Unanswered
speakyourcode
asked this question in
Q&A
Replies: 1 comment 4 replies
-
How are you measuring memory? Taking heap snapshots in Chrome devtools, I see the page uses around 41.5 MB both at startup and after many presses of "paint". |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys!
Thank you for this awesome tool, I'm following the Tutorial to draw a square with SDL and all seems to work fine, but if I erase the square and paint it again, the memory keeps growing and haven't been able to figure out how to delete it. What am I missing?
I've set up the following Sandbox with two buttons: paint and erase.
You can see how the files were generated in the README, I essentially use MODULARIZE for web ENVIRONMENT.
With each paint, the memory grows about 20MB and haven't been able to delete it. You can see in the Memory Browser Tools that the memory is there even if I delete the canvas.
Any ideas? Thanks
Beta Was this translation helpful? Give feedback.
All reactions