This is very interesting information! I’ll try to keep this is mind a little bit.
Temporary memory leaks
Root / SmileBASIC Bug Reports / [.]
12Me21Created:
After a program ends, the memory it used is not immediately freed.
(This is to allow you to use CONT to continue the program, or check the value of variables)
However, using CLEAR is not completely effective at clearing memory.
The only way to really free the memory used by a slot is to run another program in that slot (preferably one that doesn't use very much memory), or, for the smile tool, changing the currently assigned program will also free its memory.
For some reason, the smile tool's memory isn't immediately freed after it ends, even though you do not have access to its variables, and you can't use CONT. This causes a memory leak, particularly if you ended the program while it was using a lot of memory.