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.
My understanding is that Unix will do this for you whenever you allocate memory in the usual way, all memory is virtual memory in Unix. Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
When you type top at the command line,you'll see your memory and your virual memory (all the space left on your harddisk). My experience is that once you ran out of ram,linux starts using virual memory,automatically. The Muppeteer.
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.