Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!ucsd!scubed!warner From: warner@scubed.com (Ken Warner) Newsgroups: comp.lang.smalltalk Subject: Re: Running out of memory with PPS 2.5 Message-ID: <676@scubed.SCUBED.COM> Date: 14 Apr 91 01:34:35 GMT References: <12659@pt.cs.cmu.edu> Sender: usenet@scubed.SCUBED.COM Followup-To: comp.lang.smalltalk Distribution: comp Organization: S-CUBED, A Division of Maxwell Labs; San Diego CA Lines: 38 In article <12659@pt.cs.cmu.edu> dr1b@cive.ri.cmu.edu (Dionysis Rigopoulos) writes: [stuff deleted] > 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 [etc] > I run Objectworks under multifinder, so I played with different values >of required memory, and was surprised by the results: >With 4000 K of required memory, after garbage collecting I have 792036 free >bytes. With 6971 K of memory, I only get 1421900 free bytes. Where do the Forget the numbers, they don't tell you anything useful. I run large (>4 meg) images all the time on a Mac II and IIcx. The tricks I use: First get 16 Meg of real memory and Maxima from Connectix. If you can't swing 16 Meg of real memory get Virtual from Connectix. Both give you a little over 14 Meg of memory *UNDER FINDER*. Under MultiFinder you will only get 8 Meg - System - Finder memory *THIS IS IT...ALL YOU GET...YOU DON'T GET NO MORE!* I have the application memory size set to 7000k and my System cut down to a little less than 1 Meg. Few INIT's, CDEV's and/or DA's. Configured this way I can run Smalltalk with a 4+ Meg image, MS-Word and a draw program. But I garbage collect *ALOT*. So if I have a lot of hacking to do and I don't want to garbage collect every 4 minutes, I run under Finder. Finder will let you use all 14 Meg of memory. It works great! Remember I'm using Connectix stuff. Last meaningful trick: Inspect Object class variable DependentFields. This guy can sponge up a lot of zombies. But be careful what you loose from DependenFields--you can really hose yourself. Cheers! Ken Warner warner@scubed.scubed.com