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

#1 2008-01-03 16:02:32

AlveKatt
Scratcher
Registered: 2007-08-12
Posts: 100+

I can't see all projects online

I am not a computer wiz, but I managed to find the javaconsol and make it print errormessages as well as something about memory. Swedish to english: Minne=memory, Ledigt=available, klar=done.

java.lang.OutOfMemoryError: Java heap space

Minne: 65 088K    Ledigt: 9 807K    (15%) ... klar.

Offline

 

#2 2008-01-04 11:19:03

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: I can't see all projects online

That probably means that the project is too big for Java to handle.  Even though  your project is within the 10MB limit for this website, the Java virtual machine cannot read the project because after decompression it gets too big for the JVM. I'd suggest removing sound s and big images and see if it works, then you can start adding one by one until you find the source of the problem.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#3 2008-01-04 11:42:57

AlveKatt
Scratcher
Registered: 2007-08-12
Posts: 100+

Re: I can't see all projects online

Ah. I guess all those projects where that happens got their comments from people who downloaded it then. Hasn't happened to any of my own projects, yet, though.

Doesn't this make the image and sound compression a bit pointless? If the size limit is the same for uploading and successfully playing it, what's the point of compressing the data when the uncompression will make it not work all the same?

Offline

 

#4 2008-01-05 10:13:39

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: I can't see all projects online

Compression is mainly for reducing the time it takes to upload and download projects.
Because compression can shrink some images a lot, it is possible for a compressed project to be within the 10Mbyte limit and still be too big for the java virtual machine when downloaded.  This seems to happen mainly with low-resolution images that have been blown up to fill the stage—they compress to tiny descriptions, but take a lot of member for each background.   The more common situation is for a project of 20-30Mbytes to work fine with the java virtual machine, so the upload limit is usually more stringent than the limits of java.

There is a fairly serious problem with compression, in that it can change colors subtly, and many scratch programs rely on exact color matches (for "color over color" tests).  I think that the problem here is not with the compression but with the equality testing of color matches.  There needs to some tolerance for color errors in the test, but this is a bit tricky to implement, as the RGB color model used in computer displays is not close to a perceptually uniform space, so what constitutes a "small" difference is quite different in different parts of RGB space.

Offline

 

#5 2008-01-07 19:33:52

caden22
Scratcher
Registered: 2008-01-07
Posts: 2

Re: I can't see all projects online

i need help nothin shows up but games i dont want and im testing my computer when the only games that come up are boring and i dont know how to make games help!

Offline

 

Board footer