Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: leaks in my app



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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >leaks in my app (From: "Sandeep Chandna" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.