home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / system / 11552 < prev    next >
Encoding:
Text File  |  1992-09-02  |  2.4 KB  |  56 lines

  1. Newsgroups: comp.sys.mac.system
  2. Path: sparky!uunet!spsgate!mogate!newsgate!gpb-mac.!gpb
  3. From: gpb@gpb-mac. (greg berryman )
  4. Subject: Re: 7.x.x Finder Heap Allocation ?
  5. Message-ID: <1992Sep2.191821.22486@newsgate.sps.mot.com>
  6. Sender: usenet@newsgate.sps.mot.com
  7. Nntp-Posting-Host: 222.1.248.85
  8. Organization: SPS
  9. X-Newsreader: Tin 1.1 PL4
  10. References: <1992Sep1.164852.29038@elroy.jpl.nasa.gov>
  11. Date: Wed, 2 Sep 1992 19:18:21 GMT
  12. Lines: 42
  13.  
  14. sgrenander@NASAMAIL.JPL.NASA.GOV (Sven Grenander) writes:
  15. : Since I switched to 7 I've had intermittent "Out of memory, try closing windows
  16. : or quitting applications" problems. Well, I'm not out of memory (or at least I
  17. : shouldn't be with close to 80Mbytes of RAM left). So I got a copy of SWATCH to monitor 
  18. : what was going on with the memory allocations, hoping to see the problem as it
  19. : occured.
  20. : What SWATCH (a pretty neat little app) showed was that the finder heap is the problem.
  21. : It is fixed at around 263K (or close to it, maybe it varies from machine to machine ?)
  22. : and sure enough, its free space which is usually around a measly 4K sometimes sinks
  23. : to 500 bytes, followed by the OOM message.
  24. : I should note that I haven't been able to determine exactly how the free space gets
  25. : chewed up. Sure, if I just start opening windows it starts disappearing, but if I 
  26. : re-boot with the windows already open the free space _seems_ to have largely returned
  27. : with the overall heap size staying constant. 
  28. : The system heap on the other hand is nicely self-adjusting, growing and shrinking
  29. : as needed, just as promised.
  30. : So, the question is how to increase the finder heap allocation to
  31. : make the problem less likely to occur. I tried ResEditing the Finder to increase the
  32. : allocation, but the system will not boot with the edited copy.
  33. : Any suggestions ?
  34. : -Sven
  35.  
  36. I have had the same problem on a number of machines along with assorted bombs
  37. due to "bad f-line instruction" errors.  I used ResEdit to change Finder's
  38. memory allocation up to 358400  in the SIZE=-1 resource.  The problems went
  39. away afterwords.  
  40.  
  41. If you decide to do this, remember to make a good copy of the finder in case
  42. Murphy strikes,  BTW you will have to edit a copy of the Finder and then
  43. replace the finder in the System Folder and reboot.
  44.  
  45. AS ALWAYS WITH RESEDIT DO THIS AT YOUR OWN RISK!
  46.  
  47. --
  48. Greg Berryman       gpb@gpb-mac.sps.mot.com
  49. Motorola Inc.       Austin Texas
  50.