32/64-bit transition and memory expansion
32/64-bit transition and memory expansion
- Subject: 32/64-bit transition and memory expansion
- From: Ben <email@hidden>
- Date: Mon, 10 May 2010 22:45:01 +0100
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 (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