There is a function in windows called VirtualAlloc. This will alloc the memory on the swap file and automatically do the swapping when necessary. Is there any substitute in UNIX platforms.
Look into further info on VMM and the AIX paging space tips below
VMM overview
The Virtual Memory Manager (VMM) services memory requests from the system
and its applications.Virtual-memory segments are partitioned in 4096 byte
units called pages; each page is either located in physical memory (RAM) or
stored on disk in paging space until it is needed. AIX uses virtual memory
in order to address more memory than is physically available in the system.
The management of memory pages in RAM or on disk in paging space is
handled by the VMM.
I think you want an early allocation model "just to be sure". That scheme is available on AIX 4.3.3. Simply do
[tt]
export PSALLOC=EARLY
/your/command/here
[/tt]
I hope it works...
Unix was made by and for smart people.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.