• 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
NSString memory allocation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString memory allocation


  • Subject: NSString memory allocation
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 7 Dec 2009 13:56:28 +0000

My GC app receives string data from a server and displays it.
If the strings are small, say around 60-100KB then real memory allocation seems unremarkable.

Above this, say around 100-300KB, then real memory allocation increases by about 20MB.
This memory does not seem to be released even after an exhaustive collection.

Would it be right to assume that NSString switches to a different allocation strategy as the data size increases?

Regards

Jonathan Mitchell

Developer
http://www.mugginsoft.com






_______________________________________________

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: drag and drop form NSViewController or NSView subclass
  • Next by Date: CAShapeLayer & CGAffineTransformMakeForRotation?
  • Previous by thread: Re: NSTableView reloadData works just on init. (Alberto Piu)
  • Next by thread: CAShapeLayer & CGAffineTransformMakeForRotation?
  • Index(es):
    • Date
    • Thread