• 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: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

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>)
 >Re: When does Cocoa get "No more!" from malloc? (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: filtering a tableView from a pulldown
  • 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