Newsgroups: comp.lang.smalltalk Path: utzoo!utgpu!cunews!ags From: ags@scs.carleton.ca (Alexander George Morison Smith) Subject: Re: Running out of memory with PPS 2.5 Message-ID: <1991Apr15.133016.20284@ccs.carleton.ca> Summary: Do garbage collects once in a while. Sender: news@ccs.carleton.ca (news) Organization: School of Computer Science, Carleton University, Ottawa, Canada References: <12659@pt.cs.cmu.edu> Date: Mon, 15 Apr 1991 13:30:16 GMT In article <12659@pt.cs.cmu.edu> dr1b@cive.ri.cmu.edu (Dionysis Rigopoulos) writes: > I am trying to transfer the code I developed in version 2.3 to Objectworks >2.5 and run out of space (on a Mac ci with 8 MB of memory, where memory >should not be a problem). I just use 2.3 :-) You can probably fix your problem with out of memory during file-in by inserting a few Smalltalk garbageCollect (or whatever the method name is) in appropriate places in the file you are filing in. That way it will do a garbage collect and give you more free memory / objects for the rest of the file-in. It seems that garbage collection isn't as automatic as we users wish it is during file-in and other times. By the way, if you creat a huge object in 2.5 and then dereference it, you will find that you have more free memory after dereferencing it than before creating it. I susupect that PP 2.5 only allocates memory from the Mac OS as it needs it. - Alex