View Full Version : Alice Freezing??
islandfever
07-14-2007, 12:59 PM
My Alice is just about always freezing up. Then it takes about 5 minutes to "X" out. I have Windows XP. Do you think it's just because I have a slower processor (Celeron D), or what? Could you all give me your opinions? Thanks! :D
DrJim
07-14-2007, 01:47 PM
A slow processor will cause problems - but mainly with playing a world. Make the playback window smaller and see if the problem goes away.
If the display is really bad and obviously the cause of the crashes, it may be an ond graphics card. Try "slow and steady" Alice.
The more likely cause is too little available memory for the program. Will let others describe the problem better - but basically Alice doesn't get rid of old files ("garbage collection") very well. With an older computer and a large program (greater than 6-10 M), you can almost come to a stop after you've been working for a while. One solution is to just save your program often (a good idea anyway) and then quit and restart Alice.
There are other things you can do - a forum search will show many of these - but they are mainly related to specific problems like large music files, etc.
islandfever
07-14-2007, 05:22 PM
Thanks, I'm pretty sure the problem is the processor, because I have about 78 Gigs left on my C-Drive, and I just got this computer last year. :)
lanceA
07-14-2007, 05:54 PM
HardDisk space seldom affects ALICE. RAM, on the other hand, will bring an ALICE world to it's knees.
They advertise that ALICE needs between 128 and 256 mbytes of memory. I support the premise that the more memory you have the better for ANY graphical progams. As others have said, if you have sound included in your program that will significantly impact performance, as sounds consume significant amounts of memory.
Search the Forum for the ALICE program "Guitar Villans", it's only 8.9kb but on a machine with only 526 mbyte of memory it will skip.
I could be wrong but I suspect your problem is not HardDisk space.
If, as I suspect, you are running from a laptop with a minimum of 512 meg or less, that probably accounts for the slowness. PLUS . . . .
Most programming languages have a "Garbage Collection" feature. This takes effect when you "close" a program - it is supposed to free up all memory reserved when your program started. ALICE, and numerous other programs, are atrocious for NOT doing this. The only way to free memory is to reboot.
Good luck,
DrJim
07-14-2007, 08:18 PM
.... The only way to free memory is to reboot. (Bold added.)
Whoa! - As much as I've used Alice (and griped about crashes), I never realized that - although I have tended to reboot after a couple of crashes as a matter of course.
Thanks for the "heads up."
islandfever
07-14-2007, 08:33 PM
...The only way to free memory is to reboot.
Thanks, I think that is the answer to my problem. :D
JungleJim
07-14-2007, 10:32 PM
If Alice is written in Python (or Java? or some mixture?) and these languages have automatic garbage collection - why is Alice plagued with "memory leaks" as suggested by the previous posts??? I switched from writing code in C++ to Java just because I was tired of never being able to plug all my memory leaks (well, there were other reasons)