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

#1 2011-01-31 04:22:04

MikeKucinski
Scratcher
Registered: 2010-11-03
Posts: 7

Possible memory leak

I have a project which when it runs for about 20 minutes always kills the Microsoft IE browser and the computer operation can get very slow too.

I suspect it is a memory leak.

My project repeatedly stamps patterns to the screen, and after a while, my stamping app apears to get unusually slower, just before the browser crashes.

Can you have someone look at it?  My children and their teachers  and other students will be bringing it up at school repeatedly and I don't want it crashing their computers.

Here is the project

http://scratch.mit.edu/projects/MikeKucinski/1433506

Is it possible that when the drawing is off screen that it is using memory that it shouldn't be?  It might be something like that, but my educated guess is that it is a memory leak, since I am a software engineer.

Offline

 

#2 2011-01-31 04:46:05

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Possible memory leak

Possibly. It is also advised to NOT use IE with scratch. Firefox is recommended.

Last edited by scimonster (2011-01-31 04:46:24)

Offline

 

#3 2011-01-31 09:35:06

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Possible memory leak

I'm no software engineer, so I suspect you're right, but I'd recommend trying a different browser such as Google Chrome, perhaps?

Offline

 

#4 2011-01-31 12:49:22

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Possible memory leak

Ah, we've suspected there might be a slow memory leak in the Java player for a while now.  hmm  Right now, we're devoting most of our very limited resources to working on the next generation Scratch player, which will run in Flash. We hope to release a beta version of that very soon, and once it is tested, it will be the default Scratch project player on the site. So this is a roundabout way of saying we hope to have this fixed soon by retiring the Java player. Thanks!


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

Board footer