Dear all, man setrlimit takes me to linux programmers man page I am looking for a solution from bash shell. Is there any way out ?
thanks Regards krishna On Sat, Sep 28, 2013 at 7:28 PM, Girish Venkatachalam < [email protected]> wrote: > 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 > _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
