Re: Question about program run out of memory

"Richard Nairn" <[email protected]> Tue, 26 Aug 2008 20:37:19 -0600
Newsgroups org.kernel.vger.linux-admin
Message-ID <op.ugixkhh6k1m0hh@scorpio>
Check out ulimit. It controls a number of parameters such as maximum  
memory size, core dump size, open file descriptors...

On Tue, 26 Aug 2008 19:16:35 -0600, 梁晨 <[email protected]> wrote:

> 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


--
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