home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.system
- Path: sparky!uunet!spsgate!mogate!newsgate!gpb-mac.!gpb
- From: gpb@gpb-mac. (greg berryman )
- Subject: Re: 7.x.x Finder Heap Allocation ?
- Message-ID: <1992Sep2.191821.22486@newsgate.sps.mot.com>
- Sender: usenet@newsgate.sps.mot.com
- Nntp-Posting-Host: 222.1.248.85
- Organization: SPS
- X-Newsreader: Tin 1.1 PL4
- References: <1992Sep1.164852.29038@elroy.jpl.nasa.gov>
- Date: Wed, 2 Sep 1992 19:18:21 GMT
- Lines: 42
-
- sgrenander@NASAMAIL.JPL.NASA.GOV (Sven Grenander) writes:
- : 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
-
- I have had the same problem on a number of machines along with assorted bombs
- due to "bad f-line instruction" errors. I used ResEdit to change Finder's
- memory allocation up to 358400 in the SIZE=-1 resource. The problems went
- away afterwords.
-
- If you decide to do this, remember to make a good copy of the finder in case
- Murphy strikes, BTW you will have to edit a copy of the Finder and then
- replace the finder in the System Folder and reboot.
-
- AS ALWAYS WITH RESEDIT DO THIS AT YOUR OWN RISK!
-
- --
- Greg Berryman gpb@gpb-mac.sps.mot.com
- Motorola Inc. Austin Texas
-