Re: -[NSSet initWithSet:copyItems:] crashing
Re: -[NSSet initWithSet:copyItems:] crashing
- Subject: Re: -[NSSet initWithSet:copyItems:] crashing
- From: "Sean McBride" <email@hidden>
- Date: Wed, 9 Mar 2005 09:55:09 -0500
- Organization: Rogue Research
On 2005-03-07 07:34, Thomas Deniau said:
>I do use a lot of memory [sometimes up to 150M of resident memory _ I
>use a genetic algorithm with a computation and memory-heavy objective
>function], but I thought that MallocDebug would detect a heap
>corruption if that was that kind of problem...
MallocDebug is useful, but far from perfect. You might want to look at
'guard malloc' also. Googling should reveal useful info.
>Anyway, I changed my design to use a pool of allocated objects instead
>of always initing/realloc'ing... and it seems to work fine.
>So, problem solved, but the original problem remains mysterious :/
The problem is maybe not solved, but perhaps moved. :( Memory bugs sure
can be annoying.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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