On Apr 9, 2014, at 3:45 AM, Alexander Reichstadt <l...@mac.com> wrote:

> This code is bound to a menu item method test. When looking at memory in 
> Xcode I would expect for it before adding any children to be identical to 
> after removing all children. But memory steadily increases.

Try using Instruments, since it has tools for actually measuring and tracking 
down memory leaks. For quickie checks, the ‘leaks’ tool is useful too.

Frankly, I don’t even know what that memory-usage graph in Xcode’s debugger 
pane is showing. I’ve found that “memory usage” is a slippery concept in a 
modern OS, and unless you know exactly what you’re looking at, it’s easy to 
draw the wrong conclusions. (Obvious example: people looking at VMSIZE and 
thinking their app is using a gigabyte of RAM.)

—Jens

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to