|
Restricting available physical memory in Linux
I am doing some application testing, using CentOS 5 running on x64 with 32GB of physical memory.
I want to see how the application behaves when only 8GB of physical memory is present in the server. Is there a way I can artificially restrict the physical memory to a lower amount such as this?
I can't remove DIMMs from the machine as it's in a remote datacentre.
Windows makes it easy using the /maxmem boot options, but I can't find any reference to such a trick in Linux....
Thanks.
|