Question about program run out of memory
Thank you, I tried "ulimit -Sv 1024000" successful, finally I wrote this line "* hard as 1024000" into /etc/security/limits.conf, so it can be apply when system booting.
Quoted 10 lines
Check out ulimit. It controls a number of parameters such as maximum memory size, core dump size, open file descriptors...
Quoted 7 lines · Áº³¿
hi,
I encountered such a problem when a program have some bug that it will ask for endless memory, until the system completely dead, I can only reboot it. Can I do some restriction of the max memory per process? Thanks!
___________________________________________________________
ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡
http://cn.mail.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html