I get a red box saying that Squeak is running out of memory. Then the whole program stops and I have to open task manager to close Scratch (the close button doesn't work). Is there are way to prevent this?
Offline
Save often -- If you dont save, the likelihood of running out of memory increases.
Offline
I do. After the first time it happened I saved every 5 minutes. I can't really do much before I get the message. (move only one or two blocks).
Offline
Also make sure there aren't other programs running that use a lot of memory like Firefox, antivirus, email, etc
other than that, there isn't much else you can do, maybe try re-installing.
Offline
Are you building long scripts? Scratch can die if you're doing a mighty 1s1s project or something, there are sometimes people complaining about it in Troubleshooting
Last edited by Chrischb (2012-07-27 01:58:59)
Offline
Chrischb wrote:
Are you building long scripts? Scratch can die if you're doing a mighty 1s1s project or something, there are sometimes people complaining about it in Troubleshooting
Yes, they are quite long. Do you think single stepping would slow it? I've used that a lot.
Also, when you say that the scripts are too long, does that mean that there are too many scripts for one sprite or that one continuous script goes for too long? What I mean is, If I broke down the scripts in one sprite (using multiple "when I receive [message]" blocks), would that save memory?
Offline
Lots of c blocks and long scripts really makes this problem worse. More broadcasts can help, and quitting other open applications can help as well, up to a limit.
The real problem is that scratch is a 32bit application, and cannot utilize all available memory on 64 bit operating systems.
How much ram do you have installed?
Offline
jji7skyline wrote:
Lots of c blocks and long scripts really makes this problem worse. More broadcasts can help, and quitting other open applications can help as well, up to a limit.
The real problem is that scratch is a 32bit application, and cannot utilize all available memory on 64 bit operating systems.
How much ram do you have installed?
the real problem is that scratch is limiting itself -> the vm won't use more memory than amount set at the start, even if your computer has more.
Offline