Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!itsgw!steinmetz!uunet!sco!jamesm From: jamesm@sco.COM (James M. Moore) Newsgroups: comp.sys.mac.programmer Subject: Re: Another dumb question Message-ID: <1803@viscous.sco.COM> Date: 6 Mar 89 18:26:45 GMT References: <2383@puff.cs.wisc.edu> Reply-To: jamesm@sco.COM (James M. Moore) Distribution: usa Organization: The Santa Cruz Operation, Inc. Lines: 24 In article <2383@puff.cs.wisc.edu> drew@cat46.CS.WISC.EDU (Shawn Drew) writes: > When I read individual strings from a big (around 300 entries) STR#, I > eventually run into garbage, although they look fine in ResEdit. When > I recently upgraded to a 2 meg machine, the problem disappears. >BTW, I'm using LSP 2.0, System 6.0.2 on a 2 meg SE. Try installing a growzone procedure. It doesn't have to do anything fancy; mine usually just do DebugStr("\pneed more memory"). This caught me three bugs over the weekend. If you've got lots of space to play around in, your code might not be expecting to run out of room, and this will also let you know in case you make bogus memory management calls (NewPtr(34234344), or somesuch). (I'm running LSC on a 1 meg plus with the debugger active, so my programs don't even have room to breathe. One thing to keep in mind is that the debugger and gz procs don't seem to get along very well. I suspect this is due to lack of memory for me though, as the debugger partition is 100k, lsc is 350k, and my code gets about 160k.) -- ** James Moore ** ** Internet: jamesm@sco.com ** ** uucp: {decvax!microsoft | uunet | ucbvax!ucscc | amd}!sco!jamesm ** ** Nil clu no suim ar bith ag SCO ceard a bhfuil me ag scriobh anois. **