• 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
NSZone size question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSZone size question


  • Subject: NSZone size question
  • From: James Bucanek <email@hidden>
  • Date: Tue, 8 Feb 2005 18:04:40 -0700

I see where one can create, use, and destroy an NSZone.  However, it there some way to find out the total size or the amount of free space in a specific zone?

I have some database index tables that I'm considering creating together in a zone.  The main reason is for performance since they get hit a lot and I'd like them to all be on the same virtual memory pages.

But my second motive was that I would like to occasionally keep tabs on how much memory the tables are using.  I know I can do this in a quasi-accurate method by manually counting the objects I create, but it would be much nicer if there was some (public) API for determining how much memory/pages an NSZone has grown to.

--
James Bucanek <mailto:email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: NSTextField problems.
  • Next by Date: Problem with distributed objects.
  • Previous by thread: Re: NSTextField problems.
  • Next by thread: Problem with distributed objects.
  • Index(es):
    • Date
    • Thread