Re: virtual memory
Re: virtual memory
- Subject: Re: virtual memory
- From: Quinn <email@hidden>
- Date: Tue, 2 Dec 2003 09:53:18 +0000
At 1:25 -0800 2/12/03, Steve Dekorte wrote:
What's the limit on the amount of virtual memory OSX can support?
There's no single answer to this question.
Within any normal user task, Mac OS X supports 4 GB of VM. By
default, chunks of this address space will be allocated to other
things (like the frameworks), so the limit to how much VM you can
/allocate/ is less.
Within the kernel task, Mac OS X 10.3 supports 3 GB of address space
(some of which may be pageable). On earlier systems, this limit was
1 GB.
If you consider the totality of all the VM in all the tasks on the
system, AFAIK there is no fixed limit. There are a variety of limits
that you can run in to, the most likely being disk space. Swap space
is allocated from files on the root volume. [Search "/etc/rc" for
"dynamic_pager" to see where this is done.] If the root volume fills
up, the pager stops paging out and you eventually run so short of
physical memory that the system grinds to a halt.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.