On Thursday 17 November 2005 18:16, Mithun Bhattacharya wrote: [snip] > Once it runs out of physical memory new request for memory would result > in swap usage. If you manage to use both the physical memory and the > SWAP the OS will return a error.
By default the kernel also overcommits on memory allocations by apps. To turn this off this should probably work: echo 2 > /proc/sys/vm/overcommit_memory echo 100 > /proc/sys/vm/overcommit_ratio (not 100% certain about this, pls check VM docs). This is likely to trigger OOM problems a lot quicker. -Taj. _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
