Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!ux1.lbl.gov!beard From: beard@ux1.lbl.gov (Patrick C Beard) Newsgroups: comp.sys.mac.programmer Subject: Re: Allocating large amounts of memory (I do use longs) Message-ID: <1743@helios.ee.lbl.gov> Date: 23 Jan 89 22:40:10 GMT References: <9181@cit-vax.Caltech.Edu> Sender: usenet@helios.ee.lbl.gov Reply-To: beard@ux1.lbl.gov (Patrick C Beard) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 16 In article <9181@cit-vax.Caltech.Edu> janin@tybalt.caltech.edu (Adam L. Janin) writes: >I continue to have problems allocating more than 32k using NewPtr >or NewHandle. I _do_ use longs in all my calculations. Any ideas? There are so many possibilities. Let's see if we can narrow them down. 1. How much memory in your machine? 2. Finder or MultiFinder? 3. How early/late are you trying to allocate this? If you are running under MultiFinder, what is the memory size? If you are allocating the memory late in the game, you might have heap fragmentation. Please let us know more. Patrick Beard