Re: Lost memory, GCD, dispatch sources, Cocoa bindings & User interface
Re: Lost memory, GCD, dispatch sources, Cocoa bindings & User interface
- Subject: Re: Lost memory, GCD, dispatch sources, Cocoa bindings & User interface
- From: Jens Alfke <email@hidden>
- Date: Wed, 16 Sep 2015 09:22:59 -0700
> On Sep 16, 2015, at 4:00 AM, Jean Suisse <email@hidden> wrote:
>
> Additionally, I was unable to find any leaks with Instruments (but I barely know how to use it)
Probably the next step would be to learn more about Instruments.
> and the amount of memory reported by Instruments is far less than the one reported by Activity monitor
There are several different memory usage figures that count different things. (Virtual memory is complicated…) I don’t even know what exactly the column names in Activity Monitor (“Memory”, “Private Memory”, etc.) correspond to anymore. Generally I look mostly at “Private Memory” which I believe is RPRVT — this is memory used only by this process and not shared with any others, which mostly means heap space. (“Memory” includes things like framework code and shared address space, which are used across multiple processes.)
—Jens
_______________________________________________
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