[R] auditing R's memory usage
Alexander Shenkin
ashenkin at ufl.edu
Fri May 4 18:49:11 CEST 2012
Hi Folks,
I'm running 32-bit R 2.14 in RStudio on my Win 7 x64 system with 8GB
RAM. I'm getting memory problems as R wants to swallow more than the
4GB limit.
I think I'm stuck at 4GB as I have to use 32-bit R for a number of
packages (ODBC, etc). However, I doubt I really need to be using that
much memory - I'm probably being very sloppy in my memory management,
leaving lots of temporary dataframes around, etc.
I'm looking for suggestions about how to audit R's memory usage. Yes, I
could go around my code and tie up every loose end. But in the interest
of efficiency, I'm wondering about ways I might more intelligently audit
R's memory usage. Are there any tools that can tell me what objects are
swallowing what amounts of memory? Armed with that information, I can
go track down the worst culprits.
Thanks,
Allie
More information about the R-help
mailing list