[R] memory management

Sam Steingold sds at gnu.org
Wed Feb 29 22:47:28 CET 2012


> *  <yhxr-gvrearl at hvbjn.rqh> [2012-02-29 13:55:25 -0600]:
> On Wed, 29 Feb 2012, Sam Steingold wrote:
>> compacting garbage collector is our best friend!
>
> Which R does not use because of the problems it would create for
> external C/Fortran code on which R heavily relies.

Well, you know better, of course.

However, I cannot stop wondering if this really is absolutely necessary.
If you do not call GC while the external C/Fortran code is running, you
should be fine with a compacting garbage collector.
If you access the C/Fortran data (managed by the C/Fortran code), then
it should live in a separate universe from the one managed by R GC.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.childpsy.net/ http://dhimmi.com http://camera.org
http://iris.org.il http://truepeace.org http://mideasttruth.com
Lisp: it's here to save your butt.



More information about the R-help mailing list