[Ilugc] limit a /c++ executable memory usage

  • From: srikrishnamohan@xxxxxxxxx (km)
  • Date: Sat, 28 Sep 2013 23:43:54 +0530

well but the probem is that the moment my program crosses the memory limit
set by ulimit, the program gets killed. :-(

Krishna




On Sat, Sep 28, 2013 at 11:40 PM, Arun Khan <knura9 at gmail.com> wrote:

On Sat, Sep 28, 2013 at 11:33 PM, km <srikrishnamohan at gmail.com> wrote:

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 ?


ulimit?   It is a built-in bash function; "man bash"  for the gory details.

HTH
--
Arun Khan
Sent from my non-iphone/non-android device
(???? ????/???? ???)

I'd rather be called a moron, than walk around with doubts in my mind.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Other related posts: