• 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
Determining cumulative size of an object at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining cumulative size of an object at runtime


  • Subject: Determining cumulative size of an object at runtime
  • From: Steven Frank <email@hidden>
  • Date: Mon, 17 Mar 2003 17:01:26 -0800

I have an object (an NSMutableDictionary) that contains a variable number of NSMutableArrays. The arrays then contain additional dictionaries.

Is there any easy way to determine at runtime how much memory the top-level dictionary and everything it contains is taking up?

Thanks,

Steven
http://stevenf.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • my first custom view (problems)
      • From: Frank Fenn <email@hidden>
  • Prev by Date: Re: Java vs C/Objective-C performance question
  • Next by Date: Maintaining *one* singleton over >1 thread
  • Previous by thread: Re: Printing mystery
  • Next by thread: my first custom view (problems)
  • Index(es):
    • Date
    • Thread