find out maximum number of objects in memory at once?
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.