Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!swrinde!emory!hubcap!mephisto!prism!cc100aa From: cc100aa@prism.gatech.EDU (Ray Spalding) Newsgroups: comp.sys.mac.programmer Subject: Re: "Out of memory" Message-ID: <13869@hydra.gatech.EDU> Date: 19 Sep 90 20:39:36 GMT References: <120394@linus.mitre.org> Organization: Georgia Institute of Technology Lines: 15 In article <120394@linus.mitre.org> laf@mbunix.mitre.org (Lee Fyock) writes: >What causes the multifinder message "The application XXX >unexpectedly quit (out of memory)"? I would think that a >memory request (NewPtr or NewHandle) would cause it, but >shouldn't they just return null, with the appropriate MemErr? You are correct, NewPtr/NewHandle don't cause this. My experience has been that you may get this when you call a system routine that expects a good pointer or handle, and you pass in a nil. The routines that expect a RgnHandle seem particularly good at checking for this. -- Ray Spalding, Technical Services, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0275 uucp: ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!cc100aa Internet: cc100aa@prism.gatech.edu