setrlimit(2)?

On Sat, Sep 28, 2013 at 7:04 PM, km <[email protected]> wrote:
> Dear All.
>
> How do I limit memory requirement of  a c/c++ executable in linux ?
> Generally the program would takeup as much memory available and then it
> gets killed by kernel.
> How do I avoid this situation ?  and make it run under a specified memory
> limit ? ofourse I udnertand that the run time increases accordingly.
>
> pls let me know.
> Thanks
> Regards,
> Krishna
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines



-- 
Gayatri Hitech
http://gayatri-hitech.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to