I have been adapting an existing app to compile as a 32/64-bit universal, using 
the Apple doc "64-Bit Transition Guide for Cocoa".

All has been well and good until I got to the section on optimising memory 
performance. A quick look at Activity Monitor reports my app as using 26MB real 
memory (rsize) under 32-bit and 42MB running as 64-bit. 

Running Instruments with ObjectAlloc reports a peak memory usage of the above 
values, dropping to around 2-5MB when idle.

Questions: 
- Is Activity Monitor likely just reporting this high tide value?
- Is the increase in memory usage (of about 50%) normal?
- Either way, should I be concerned?

Lastly:
- HeapDiff reports the worst offender for memory expansion between 32/64-bit 
processes as NSCFDictionary. Instruments suggests it is CFBasicHash. Is 
CFBasicHash part of the internals for NSCFDictionary? Google doesn't have much 
info on this.


Thanks for any light shed on this

- Ben_______________________________________________

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

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

Reply via email to