? Temporary memory leaks (Page 1) ● SmileBASIC Source Forums

Sign In

*Usernames are case-sensitive
Forgot my password

Temporary memory leaks

  • #1 ✎ 1690 12Me21 Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself 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. Posted Edited by 12Me21
  • #2 ✎ 75 GreedyGoat8 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Avatar Block I didn't change my avatar for 30 days. Website Disguised Hidden Website This is very interesting information! I’ll try to keep this is mind a little bit. Posted