Are there any tunables for this scenario? I've a system with 500Gig main memory. But when the virtual memory usage exceeds 195Gig, system reboots itself. Any clue? Any tunables for it?
You mean swap usage? Or just 'virtual' memory as in, internal memory plus swap space? I know there are some limitations to the size of the swap, there should be some tunables for those.
* put it in "single user mode"
* use the dd command or equivalent to incrementally use main RAM by reading from /dev/zero and writing to /dev/null with a huge block size...and concurrently run several of these jobs
nice dd if=/dev/zero of=/dev/null bs=20G &
by running multiple instances of the above you can allocate all the RAM in the system.
Your previous comment about "virtual memory" doesn't really make sense because the virtual address space is only limited by the processor address range. I think what you're really interested in is resident space used, and maybe what would be in swap...but "I think" dd bs size is locked in RAM and non-swappable.
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.