Re: R: Running out of VM
Re: R: Running out of VM
- Subject: Re: R: Running out of VM
- From: Alastair Houghton <email@hidden>
- Date: Sun, 25 Dec 2005 22:42:57 +0000
On 25 Dec 2005, at 14:42, Jonathan del Strother wrote:
Use the debugging tools at your hands to try and determine the actual
cause of the problem? ;-)
Mmm, tricky when I can't reproduce it... :(
Are there any better ways to test potential low memory issues than
artificially eating up memory with malloc?
There's an OpenFirmware variable you can use to limit the amount of
memory available to the system (I don't remember the name, sorry...
perhaps someone else can recall, but if not it should be easy enough
to find by searching Apple's Developer site).
I have to say that like Finlay I'm also dubious that this really will
turn out to be a low memory issue; it's possible, but I think there
are probably more likely explanations. My guess, since you say that
the program fails in random places, is that it's much more likely to
be some sort of retain/release bug, as those can easily cause that
type of behaviour and can be hard to reproduce. Try enabling some of
the Cocoa debug options (see TN2124) and see if you can either
reproduce the problem or find some other problems with your object
allocation.
Kind regards,
Alastair.
--
http://www.alastairs-place.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden