home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!apple!applelink.apple.com
- From: DIGIMATCH@AppleLink.Apple.COM (3M, Ran Bedekar,PRT)
- Newsgroups: comp.sys.mac.oop.macapp3
- Subject: Re2: Stack size in MacApp
- Message-ID: <724548015.9470405@AppleLink.Apple.COM>
- Date: 16 Dec 92 23:14:00 GMT
- Sender: daemon@Apple.COM
- Organization: AppleLink Gateway
- Lines: 24
-
- Actually, you don't have to modify Memory.r in MacApp. MacApp totals the
- values of all the 'mem!' resources in your application. You can add to the
- temporary heap, the permanent heap, and the stack size by adding your own
- 'mem!' resource.
-
- For example:
- resource 'mem!' (1000,
- #if qNames
- "MoreMemory",
- #endif
- purgeable) {
- temp,
- perm,
- stack
- };
-
- where:
- temp = number of additional bytes of temporary heap
- perm = number of additional bytes of permanent heap
- stack = number of additional bytes of stack
-
- Regards,
- Nick Nallick
-
-