See man ulimit
Best, Ista On Nov 5, 2016 8:11 AM, "Priya Arasu via R-help" <r-help@r-project.org> wrote: > Hi, > I am using R 3.3.1 in RedHat Linux7 , 64bit system (16GB RAM). I > could run simulation in R package, Boolnet for 25 genes without any > problem. When I add more gene i.e. 26 genes, the system becomes slow. > Simulation keeps running for more than a day. I have to stop the > simulation, as it takes a lot of memory. I need a suggestion here, I want > to stop the script from running when the script takes memory beyond 15.4 > GB. How do I do it? Should I generate warning in my script or use typeCatch? > Any idea or advice, would be of great help > Thank you > Priya > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.