home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!pacbell.com!tandem!tomh.cpd.tandem.com!user
- From: Holland_Thomas@Tandem.Com (Tom Holland)
- Subject: Error #-108 during shutdown
- Message-ID: <Holland_Thomas-290892130251@tomh.cpd.tandem.com>
- Followup-To: comp.sys.mac.programmer
- Sender: news@tandem.com
- Nntp-Posting-Host: tomh.cpd.tandem.com
- Organization: Tandem Computers
- Date: Sat, 29 Aug 1992 20:24:12 GMT
- Lines: 32
-
- Hi ,
-
- I'm working on a program which loads a code resource into the shutdown
- manager
- for execution during a Restart. When the code resource is executed, the
- application
- which loaded it is no longer running. Amongst its duties, this code
- resource loads
- a 'snd ' resource from a resource file and plays it. For short sounds, this
- works fine.
- The problem I have run into is that for larger (~40K) sounds
- Get1IndResource produces
- an error -108 (memory full error -- not enough room in heap zone).
-
- Since my code resource is executed by the shutdown manager, my
- understanding is that
- the heap in question is the system heap. Can the system heap really not
- have 40KB to spare?
- The relevant characteristics of my system are: IIci, 20MB ram, System
- 7.0.1 updated,
- Think C 5.0.1.
-
- Any comments or thoughts on this would be appreciated. Thanks.
-
-
- Tom Holland
-
- Holland_Thomas@Tandem.Com, |Soap and education are not as sudden as a
-
- Tandem Computers, Cupertino Ca. |massacre but are more deadly in the long
- run.
- | - Mark Twain
-