Re: When does Cocoa get "No more!" from malloc?
Re: When does Cocoa get "No more!" from malloc?
- Subject: Re: When does Cocoa get "No more!" from malloc?
- From: "Chris Suter" <email@hidden>
- Date: Fri, 31 Oct 2008 01:34:29 +1100
On Fri, Oct 31, 2008 at 1:28 AM, Michael Ash <email@hidden> wrote:
> Apparently it asks for 2MB at a time.
For tiny regions (for blocks <= 16 bytes), it looks like it appears to
allocate 1 MB chunks. For small regions (blocks <= 512 bytes), I think
it's around 8MB blocks. I think the 2 MB must come from a large
allocation or from one of the other data structures.
-- Chris
_______________________________________________
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