Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!rutgers!att!lzsc!mkg From: mkg@lzsc.ATT.COM (Marsh Gosnell) Newsgroups: comp.sys.mac.programmer Subject: Re: Expanding System Heap Summary: The sysz resource doesn't work the way you might think Message-ID: <1170@lzsc.ATT.COM> Date: 13 Apr 89 15:07:32 GMT References: <13002@dartvax.Dartmouth.EDU> <28844@apple.Apple.COM> Distribution: na Organization: AT&T ISL Lincroft NJ USA Lines: 13 In article <28844@apple.Apple.COM>, austing@Apple.COM (Glenn L. Austin) writes: > If you are loading as an INIT, you can use the sysz resource (a longint) > to request that the System heap be enlarged by that amount, ... The sysz mechanism ONLY guarantees that the free space in the system heap equals (or exceeds) your request. It will increases the size of the system heap by the amount needed to meet your request-not by the amount of your request. If you ask for space you don't use, that free space will count towards the next INIT's sysz request. If you want to have free space available later, you must allocate something into that space to keep it from being reused by another INIT. Marsh Gosnell