[R] memory management

Sam Steingold sds at gnu.org
Mon Feb 27 22:03:59 CET 2012


It appears that the intermediate data in functions is never GCed even
after the return from the function call.
R's RSS is 4 Gb (after a gc()) and

sum(unlist(lapply(lapply(ls(),get),object.size)))
[1] 1009496520

(less than 1 GB)

how do I figure out where the 3GB of uncollected garbage is hiding?

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://camera.org http://truepeace.org
http://www.PetitionOnline.com/tap12009/ http://thereligionofpeace.com
Modern man is the missing link between apes and human beings.



More information about the R-help mailing list