This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-03-18 17:08:54

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Squeak almost out of memory

I am making a project, and then this window pops up saying that squeak is almost out of memory. I pressed debug, one of the 3 buttons I could (proceed, abandon, debug), and when I closed my window because I didn't know what to do, Scratch completely froze. What should I do?

Offline

 

#2 2012-03-18 18:35:11

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: Squeak almost out of memory

squeak is the scratch scorce code. I had this problem too.


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#3 2012-03-19 02:08:34

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Squeak almost out of memory

Your computer may be overloaded or running too many programs.
Try compressing the images/sounds you are using in your project, or closing some of the programs which are running.


http://trinary.tk/images/signature_.php

Offline

 

#4 2012-03-19 18:42:39

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Squeak almost out of memory

trinary wrote:

Your computer may be overloaded or running too many programs.
Try compressing the images/sounds you are using in your project, or closing some of the programs which are running.

Scratch was the only program on, there are no sounds, The only images there were were the Scratch cat, and a 1 pixel big costume, and the stage completely white.

Offline

 

#5 2012-03-19 20:24:38

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Squeak almost out of memory

MMaybe you don't have enough RAM space.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#6 2012-03-19 20:59:48

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Squeak almost out of memory

I think that it just can't handle the large script that was there
(it was a HUGE script)

Offline

 

#7 2012-03-22 22:42:54

puppymk
Scratcher
Registered: 2011-09-10
Posts: 100+

Re: Squeak almost out of memory

TorbyFork234 wrote:

I think that it just can't handle the large script that was there
(it was a HUGE script)

I saw it happen once with someone I know when they had almost no scripts.


http://dl.dropbox.com/u/60598636/puppymk-sig.png

Offline

 

#8 2012-03-22 22:45:43

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Squeak almost out of memory

puppymk wrote:

TorbyFork234 wrote:

I think that it just can't handle the large script that was there
(it was a HUGE script)

I saw it happen once with someone I know when they had almost no scripts.

But was the script that they had large? Mine took a long time to scroll all the way down.

Offline

 

#9 2012-03-22 23:29:24

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Squeak almost out of memory

TorbyFork234 wrote:

puppymk wrote:

TorbyFork234 wrote:

I think that it just can't handle the large script that was there
(it was a HUGE script)

I saw it happen once with someone I know when they had almost no scripts.

But was the script that they had large? Mine took a long time to scroll all the way down.

Long scripts can kill memory in Scratch. Happened to me a few times.

Also, lots of backgrounds, or large backgrounds, can kill memory in Scratch.

This is why we need a 64-bit Scratch :3


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#10 2012-03-22 23:30:42

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Squeak almost out of memory

jji7skyline wrote:

TorbyFork234 wrote:

puppymk wrote:


I saw it happen once with someone I know when they had almost no scripts.

But was the script that they had large? Mine took a long time to scroll all the way down.

Long scripts can kill memory in Scratch. Happened to me a few times.

Also, lots of backgrounds, or large backgrounds, can kill memory in Scratch.

This is why we need a 64-bit Scratch :3

What's "bit" (sorry, n00b at computers)

Offline

 

#11 2012-03-23 11:39:42

puppymk
Scratcher
Registered: 2011-09-10
Posts: 100+

Re: Squeak almost out of memory

TorbyFork234 wrote:

puppymk wrote:

TorbyFork234 wrote:

I think that it just can't handle the large script that was there
(it was a HUGE script)

I saw it happen once with someone I know when they had almost no scripts.

But was the script that they had large? Mine took a long time to scroll all the way down.

They just had one sound script that was like two blocks.


http://dl.dropbox.com/u/60598636/puppymk-sig.png

Offline

 

#12 2012-03-23 13:31:15

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Squeak almost out of memory

TorbyFork234 wrote:

jji7skyline wrote:

TorbyFork234 wrote:


But was the script that they had large? Mine took a long time to scroll all the way down.

Long scripts can kill memory in Scratch. Happened to me a few times.

Also, lots of backgrounds, or large backgrounds, can kill memory in Scratch.

This is why we need a 64-bit Scratch :3

What's "bit" (sorry, n00b at computers)

A bit is a yes/no, true/false, zero/one slot of memory on a computer.
There are two types of computers: 32-bit and 64-bit.

32-bit processors are able to go through 32 slots of yes/no, zero/one memory in a given time, whereas 64-bit ones can go through 64 slots in the same time. This means that they are quicker and can handle more memory.

Offline

 

#13 2012-03-23 15:37:57

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: Squeak almost out of memory

TorbyFork234 wrote:

I think that it just can't handle the large script that was there
(it was a HUGE script)

I don't think thats the reason

Offline

 

#14 2012-07-10 02:50:02

ifugu
Scratcher
Registered: 2011-08-15
Posts: 36

Re: Squeak almost out of memory

Excessively long script blocks will definitely cause this problem.

Here are some tips to avoid crashing Scratch when you must work with long script blocks.

Apply these tips while on a sprite's Scripts tab that contains a long script block:

- Do not drag the scrollbar. Click the empty part of the scrollbar to scroll a page at a time.
- Pause a few seconds between clicks, especially on the scrollbar.
- Drag blocks SLOWLY and wait until Scratch responds before dragging long distances.
- MOST IMPORANT: break the large script block up into 2 or more pieces, make your changes, then put the block back together.
- SAVE OFTEN
- Avoid scrolling upwards. It's better to save and let Scratch reset you to the top of the page or to click onto another sprite and then back onto this one.
- Avoid editing text fields on blocks that are part of large script blocks. Try breaking the block out, make your edit, and then reattach it.
- Be efficient. Don't mouse over items unnecessarily. Try not to drag blocks over hotspots unnecessarily.

I'm hoping there's a way to start Scratch with more memory to give more headroom. Anybody know of a way?

Offline

 

Board footer