• 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: leaks in my app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: leaks in my app


  • Subject: Re: leaks in my app
  • From: David Dunham <email@hidden>
  • Date: Sat, 12 Jul 2008 17:29:52 -0700

On 10 Jul 2008, at 22:17, Sandeep Chandna wrote:

Leaks/ObjectAlloc etc shows maximum of 1MB memory leak in my app whereas
Activity monitor shows memory increase by few 10s of MBs. What could be going
wrong here? Is it possible that Activity monitor is showing memory increase
even when there is no memory leak? could Activity monitor's memory increase be
just because of fragmentation?


A leak is RAM that can't be reclaimed. Not at all the same as memory usage. And fragmentation is pretty meaningless with the virtual memory system.

You should probably be using Instruments to look at this, probably Object Allocations template.

David Dunham A Sharp, LLC http://a-sharp.com
"People seem to misinterpret complexity as sophistication" -- Niklaus Wirth



_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >leaks in my app (From: "Sandeep Chandna" <email@hidden>)

  • Prev by Date: Re: Toolbar troubles in Xcode 3.1
  • Next by Date: Xcode 3.1 take a long time to exit
  • Previous by thread: Re: leaks in my app
  • Next by thread: Carbon API for Mac OS X version detection
  • Index(es):
    • Date
    • Thread