re: Large Core Data memory allocations for small rows
re: Large Core Data memory allocations for small rows
- Subject: re: Large Core Data memory allocations for small rows
- From: Ben Trumbull <email@hidden>
- Date: Wed, 7 Jan 2009 17:49:22 -0800
p.s.
But when these are faulted in, according to Instruments, Core Data
allocates a GeneralBlock-528384 per record! Even if you naively
preallocated a good chunk of memory for the strings, I can't imagine
using more than 1-2KB per record, so 516KB is totally ridiculous.
When I run Instruments against iCal (which uses Core Data), the only
blocks I see of sizes on this order of magnitude are from the Security
framework. When I run it against Address Book, no general blocks are
greater than 10% that size, and those are from ColorSync.
- 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