NSZone size question
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