[bug] strange memory leak in LC

Andre Garzia andre at andregarzia.com
Fri Mar 26 06:03:03 EDT 2021


I have no idea what happened. I’m running LC 9.6.2-rc-3 on macOS Big Sur on M1 ISA (so it is running under Rosetta 2). I kept the IDE opened for a couple days, I was working on a gaziliion stacks at the same time and was not yet ready to close them.

The stacks were not doing anything, they were not running “send in time” commands or doing any kind of processing, they were just opened. Then macOS showed me a dialog I have never ever seen on macOS 10.x, a memory exhaustion dialog. Looking closer at it, LiveCode was using 100 GB of memory, as in Gigabyte, as can be seen on this screenshot:

http://andregarzia.com/img/shots/lc-memory-leak.png <http://andregarzia.com/img/shots/lc-memory-leak.png>

I remember things like the “default button” causing leaks due to the animation and so on, but all I had was a bunch of custom stacks open and the script editor focused. Thats it. It was open since yesterday. 


More information about the use-livecode mailing list