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

  1. Newsgroups: comp.sys.mac.system
  2. 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
  3. From: sgrenander@NASAMAIL.JPL.NASA.GOV (Sven Grenander)
  4. Subject: 7.x.x Finder Heap Allocation ?
  5. Message-ID: <1992Sep1.164852.29038@elroy.jpl.nasa.gov>
  6. Sender: news@elroy.jpl.nasa.gov (Usenet)
  7. Nntp-Posting-Host: mac4.jpl.nasa.gov
  8. Organization: Jet Propulsion Laboratory
  9. Date: Tue, 1 Sep 1992 16:48:52 GMT
  10. Lines: 26
  11.  
  12. Since I switched to 7 I've had intermittent "Out of memory, try closing windows
  13. or quitting applications" problems. Well, I'm not out of memory (or at least I
  14. shouldn't be with close to 80Mbytes of RAM left). So I got a copy of SWATCH to monitor 
  15. what was going on with the memory allocations, hoping to see the problem as it
  16. occured.
  17.  
  18. What SWATCH (a pretty neat little app) showed was that the finder heap is the problem.
  19. It is fixed at around 263K (or close to it, maybe it varies from machine to machine ?)
  20. and sure enough, its free space which is usually around a measly 4K sometimes sinks
  21. to 500 bytes, followed by the OOM message.
  22.  
  23. I should note that I haven't been able to determine exactly how the free space gets
  24. chewed up. Sure, if I just start opening windows it starts disappearing, but if I 
  25. re-boot with the windows already open the free space _seems_ to have largely returned
  26. with the overall heap size staying constant. 
  27.  
  28. The system heap on the other hand is nicely self-adjusting, growing and shrinking
  29. as needed, just as promised.
  30.  
  31. So, the question is how to increase the finder heap allocation to
  32. make the problem less likely to occur. I tried ResEditing the Finder to increase the
  33. allocation, but the system will not boot with the edited copy.
  34.  
  35. Any suggestions ?
  36.  
  37. -Sven
  38.