>> 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.

I was a little to harsh when I said that. I know everything I got from the WWDC 
videos. But I need more practice. And more knowledge.
For instance, I don’t know how to tell when memory is wasted by to manny heap 
allocations which fragments the heap. So I had to find an other way to check 
this possibility and rule it out (I suppressed allocations by building object 
servers in charge of dealing and recycling them so all allocations occur at 
launch.

>> 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.)

Well, Xcode and Activity monitor agree. Instruments only show like 100 MB when 
they report GBs. But I may fail to read it correctly.
_______________________________________________

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