• 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: -retain and -release Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -retain and -release Questions


  • Subject: Re: -retain and -release Questions
  • From: Patrick Machielse <email@hidden>
  • Date: Mon, 08 Mar 2004 10:56:30 +0100

op 08-03-2004 00:34 schreef Jerry Krinock

> on 04/03/06 23:40, mmalcolm crawford at email@hidden wrote:
>
>> On Mar 6, 2004, at 11:20 PM, Jerry Krinock wrote:
>>
>>> Is there a tool to check my Obj-C/Cocoa app for such memory leaks?
>>
>> See /Developer/Applications/Performance Tools
>>
> It looks like MallocDebug would be helpful. But after launching it, I
> browse to my application's package and select it, but when I click "Launch"
> I get a spinning colored wheel for about a minute, and then an alert which
> says: "Read Data. Unable to read malloc information from (null)".

I suggest using ObjectAlloc. You can use it to look at the number of
instances of a specific class, and it can also show you the retain count of
instances. Be sure to build with debug symbols and without optimisation, if
you want reliable results.

Groeten,

Patrick
--
Hieper Software

w: www.hieper.nl
e: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: -retain and -release Questions (From: Jerry Krinock <email@hidden>)

  • Prev by Date: [ANN] Docoa Browser 0.2
  • Next by Date: AuthorizationExecuteWithPrivileges and CFpreferences issues
  • Previous by thread: Re: -retain and -release Questions
  • Next by thread: Re: -retain and -release Questions
  • Index(es):
    • Date
    • Thread