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

Sign In

Register
*Usernames are case-sensitive
Forgot my password

Temporary memory leaks

  • #1 ✎ 1619 12Me21 Head Admin Second Year My account is over 2 years old Website 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 ✎ 71 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