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:28:21 +1100
> An internet search shows me that the error message...
>
> malloc: *** mmap(size=2097152) failed (error code=12)
>
> is quite common.
>
> What is the significance of the number 2097152, besides the fact that it is
> 2^21?
It's just the amount of memory in bytes it was trying to allocate when
it failed.
If you're that interested, you can look at the source code. It's open source.
This is straying a bit off-topic for the Cocoa list.
-- 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