home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.system
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!sgrenander@NASAMAIL.JPL.NASA.GOV
- From: sgrenander@NASAMAIL.JPL.NASA.GOV (Sven Grenander)
- Subject: 7.x.x Finder Heap Allocation ?
- Message-ID: <1992Sep1.164852.29038@elroy.jpl.nasa.gov>
- Sender: news@elroy.jpl.nasa.gov (Usenet)
- Nntp-Posting-Host: mac4.jpl.nasa.gov
- Organization: Jet Propulsion Laboratory
- Date: Tue, 1 Sep 1992 16:48:52 GMT
- Lines: 26
-
- Since I switched to 7 I've had intermittent "Out of memory, try closing windows
- or quitting applications" problems. Well, I'm not out of memory (or at least I
- shouldn't be with close to 80Mbytes of RAM left). So I got a copy of SWATCH to monitor
- what was going on with the memory allocations, hoping to see the problem as it
- occured.
-
- What SWATCH (a pretty neat little app) showed was that the finder heap is the problem.
- It is fixed at around 263K (or close to it, maybe it varies from machine to machine ?)
- and sure enough, its free space which is usually around a measly 4K sometimes sinks
- to 500 bytes, followed by the OOM message.
-
- I should note that I haven't been able to determine exactly how the free space gets
- chewed up. Sure, if I just start opening windows it starts disappearing, but if I
- re-boot with the windows already open the free space _seems_ to have largely returned
- with the overall heap size staying constant.
-
- The system heap on the other hand is nicely self-adjusting, growing and shrinking
- as needed, just as promised.
-
- So, the question is how to increase the finder heap allocation to
- make the problem less likely to occur. I tried ResEditing the Finder to increase the
- allocation, but the system will not boot with the edited copy.
-
- Any suggestions ?
-
- -Sven
-