• 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
Re: When does Cocoa get "No more!" from malloc?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >When does Cocoa get "No more!" from malloc? (From: Jerry Krinock <email@hidden>)
 >Re: When does Cocoa get "No more!" from malloc? (From: Ken Thomases <email@hidden>)
 >Re: When does Cocoa get "No more!" from malloc? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: When does Cocoa get "No more!" from malloc?
  • Next by Date: Re: filtering a tableView from a pulldown
  • Previous by thread: Re: When does Cocoa get "No more!" from malloc?
  • Next by thread: Re: When does Cocoa get "No more!" from malloc?
  • Index(es):
    • Date
    • Thread