> After every call, the memory from gc() is stable, while rsession process > memory keeps growing of around 100Mb at each call and doesn't decrease after > the garbage collection.
You don't mention how you're determining the size of the rsession process, but you shouldn't necessarily expect it to decrease after calling gc() - there may be memory fragmentation, but also the OS is lazy about reclaiming memory from processes, so it may only be returned to the OS when it actually needs it. Hadley -- Chief Scientist, RStudio http://had.co.nz/ _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel