• 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: Checking for memory leaks with Instruments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for memory leaks with Instruments


  • Subject: Re: Checking for memory leaks with Instruments
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 29 Aug 2008 14:08:03 -0400

On Fri, Aug 29, 2008 at 1:49 PM, Christian Giordano
<email@hidden> wrote:

> On th e Leaks Instrument though,
> no leak is shown. I can't really find why the ram continues to
> increase, and my app is really simple. I tested then a sample app from
> apple and this a part having an increase memory usage, like mine, also
> shown some memory leaks in the related instrument. What am I missing?
> I followed this tutorial as well but no leak was found on my app.

  Maybe because there ARE no leaks. :-) Have you considered that you
might have some container sitting around somewhere (an array or a set)
that keeps collecting stuff and not letting go? A 'leak' is (in
general) an object with no reference with a retain count >0 ... it
will never be released and this is a memory management error. Runaway
memory usage is not necessarily a leak, however.

  Without more (a LOT more) information about your application, it's
hard (if not impossible) to tell you where your problem is.

--
I.S.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Checking for memory leaks with Instruments
      • From: "I. Savant" <email@hidden>
References: 
 >Checking for memory leaks with Instruments (From: "Christian Giordano" <email@hidden>)

  • Prev by Date: Dynamic right-sizing of TextContainer
  • Next by Date: Re: Checking for memory leaks with Instruments
  • Previous by thread: Checking for memory leaks with Instruments
  • Next by thread: Re: Checking for memory leaks with Instruments
  • Index(es):
    • Date
    • Thread