Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!apple.com!chewy From: chewy@apple.com (Paul Snively) Newsgroups: comp.sys.mac.system Subject: Re: Setting System Heap Message-ID: <8012@goofy.Apple.COM> Date: 2 May 90 16:53:25 GMT Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 29 References:<1990May1.231447.29824@agate.berkeley.edu> <40672@apple.Apple.COM> <9074@tank.uchicago.edu> In article <9074@tank.uchicago.edu> asl2@tank.uchicago.edu (Aaron "Fish" Lav) writes: > The quickest way would be to create a file with a type of INIT > (call it Expand Sysheap) and have it be empty except for a sysz 0 resource > with the contents equal to the amount of memory you want to add. (This > assumes that INIT 31 doesn't check for INIT resources before expanding the > sys heap. I haven't checked. If it does, add an INIT 0 which is just an > RTS (4E75).) I wouldn't rely on this--INIT 31 is supposed to reclaim any sysz-allocated space that isn't actually allocated via NewHandle or NewPtr along the way. I don't believe that it does so now, but it seems likely that INIT 31 will be brought in line with its documentation someday. __________________________________________________________________________ Paul Snively Macintosh Developer Technical Support Apple Computer, Inc. 1st Choice: Paul_Snively.DTS@gateway.qm.apple.com 2nd Choice: CHEWBACCA@applelink.apple.com Last Choice: chewy@apple.com Just because I work for Apple Computer, Inc. doesn't mean that I believe what they believe, or vice-versa. __________________________________________________________________________