• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: Large Core Data memory allocations for small rows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Returning value from detached NSThread selector with multiple arguments.
  • Next by Date: Re: NSOperation Question
  • Previous by thread: Re: Large Core Data memory allocations for small rows
  • Next by thread: setTextColor, display string, then set it back not working
  • Index(es):
    • Date
    • Thread