Hi Is there any way to check an certain command or procedure's RAM usage? Im after something similar to system.time(bla) that gives me the time the command took to preform but for RAM usage. Hope you understand what i mean. Best regards Joel -- View this message in context: http://r.789695.n4.nabble.com/check-RAM-usage-tp3018753p3018753.html Sent from the R help mailing list archive at Nabble.com.
?memory.size use before/after a sequence of commands to get an idea of the memory usage. On Fri, Oct 29, 2010 at 5:21 AM, Joel <joda2457 at student.uu.se> wrote:> > Hi > > Is there any way to check an certain command or procedure's RAM usage? > > Im after something similar to system.time(bla) that gives me the time the > command took to preform but for RAM usage. > > Hope you understand what i mean. > > Best regards > Joel > -- > View this message in context: http://r.789695.n4.nabble.com/check-RAM-usage-tp3018753p3018753.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > 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. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?
Maybe should have said that Im working on a Linux unit :) and that command is for Windows only. But thx anyway If you got any other ideas please share. /Joel -- View this message in context: http://r.789695.n4.nabble.com/check-RAM-usage-tp3018753p3021938.html Sent from the R help mailing list archive at Nabble.com.
Dear Joel, if you are working in a linux console install htop for linux and open a second shell in which with the command "htop" you can see the variation of your total memeory "live". Best regards. 2010/11/1 Joel <joda2457 at student.uu.se>:> > Maybe should have said that Im working on a Linux unit :) and that command is > for Windows only. > > But thx anyway > > If you got any other ideas please share. > > /Joel > -- > View this message in context: http://r.789695.n4.nabble.com/check-RAM-usage-tp3018753p3021938.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > 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. >-- ----------------------------------------------------- Dr. Alberto Goldoni Parma, Italy