25 Jun
2010
25 Jun
'10
03:03
Hi, Can anyone affirm that this feature really work on Linux? I want to restrict the amount of RAM consumed of each process, and any excess to be swapped. With Bash, 'ulimit -m' is supposed to limit the max. memory used by each process. However, my test program can still exceed the limit. This program just allocates and repeateadly touch a 4-MB array. But regardless the limit, the process still consume 4+ MB of RSS. I suspect this is not supported in Linux, since the manpage of setrlimit() doesn't say any RLIMIT_* related to (resident) memory. Any insight on this subject? Regards, Verdi -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org