• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -[NSSet initWithSet:copyItems:] crashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: -[NSSet initWithSet:copyItems:] crashing (From: Thomas Deniau <email@hidden>)

  • Prev by Date: Re: What NS Class is used to make movable menu bars?
  • Next by Date: Re: Drop files on NSTextView and Controllers
  • Previous by thread: Re: -[NSSet initWithSet:copyItems:] crashing
  • Next by thread: How to create a prograom without a dock icon
  • Index(es):
    • Date
    • Thread