On 11/17/05, Sirtaj Singh Kang <[EMAIL PROTECTED]> wrote:
> 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.

What about doing this on per-application basis.
The above method would limit every app to the specified number...

Say, I want to limit Open Office to 100megs...?
I certainly think OO developers (& specially the QA team) will be
interested to look at the results :-)

--
regards,
makuchaku
---
http://makuchaku.info
When you speak out with the courage of your convictions, people listen!
-- Valmik Thapar, Wildlife Conservationist.

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to