• 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
find out maximum number of objects in memory at once?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

find out maximum number of objects in memory at once?


  • Subject: find out maximum number of objects in memory at once?
  • From: Ben Dougall <email@hidden>
  • Date: Sun, 14 Dec 2003 16:52:01 +0000

what are the limits for the number of objects in memory at one time (the smallest possible - 16 bytes each)? what does it depend on? is it just the amount of memory available or are there other limits which come into effect?

i just made a quick test and got to 22300000 objects but by that time some serious disk thrashing was going on - made the computer completely unusable. disk thrashing started around 5500000 objects. i don't have a massive amount of memory on my machine though. would testing for the amount of installed memory be a way of handling that, so as to know how many objects would be acceptable, to avoid excessive thrashing? i think i've read several times that finding out how much memory isn't feasible or at least isn't a good idea, not sure though. how could you find out how many objects is reasonable in memory at once?

thanks very much, ben.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: find out maximum number of objects in memory at once?
      • From: Tim MacDonald <email@hidden>
  • Prev by Date: Object Instantiation Q.
  • Next by Date: NSScanner reads the correct number but the number isn't added to an array
  • Previous by thread: Re: Object Instantiation Q.
  • Next by thread: Re: find out maximum number of objects in memory at once?
  • Index(es):
    • Date
    • Thread