• 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
NSATSGlyphStorage memory usage.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSATSGlyphStorage memory usage.


  • Subject: NSATSGlyphStorage memory usage.
  • From: "email@hidden" <email@hidden>
  • Date: Tue, 5 Jan 2010 23:03:20 +0000

My app repeatedly loads and unloads a couple of MB of text into an NSTextView.
Running heap(1) reveals

 heap 12462 -sumObjectFields | grep NSATS
 2  22833792 11416896.0   NSATSGlyphStorage   ObjC    AppKit

This 23MB memory is allocated in the auto zone and does not noticeably decrease if the NSTextView contents are small.

Would it be correct to assume these memory blocks are managed by the layout manager and will be reallocated as and when appropriate?

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

  • Follow-Ups:
    • Re: NSATSGlyphStorage memory usage.
      • From: Aki Inoue <email@hidden>
  • Prev by Date: Re: NSDate without time portion
  • Next by Date: Question about looping constructs
  • Previous by thread: Re: What gets automatically localized?
  • Next by thread: Re: NSATSGlyphStorage memory usage.
  • Index(es):
    • Date
    • Thread