search for: r_gc_mem_grow

Displaying 3 results from an estimated 3 matches for "r_gc_mem_grow".

2015 Jan 09
1
Cost of garbage collection seems excessive
...alue to a large enough value: nate at haswell:~$ time R_VSIZE=1GB Rscript gc.R Loading required package: Matrix Loading required package: methods [1] 0 0 0 0 0 [1] 0.716 0.025 0.739 0.000 0.000 real 0m7.694s user 0m7.388s sys 0m0.309s I can do slightly better with even higher values, and by using R_GC_MEM_GROW=3. But while using the environment variables solves the issue for me, I fear that the end users of my package won't be able to set them. Is there a way that I can achieve the higher performance from within R rather than from the command line? Thanks! --nate
2013 Apr 03
0
R 3.0.0 is released
...ell as quoted help topics. To support this, completion inside quotes are now handled by R by default on all platforms. o The memory manager now allows the strategy used to balance garbage collection and memory growth to be controlled by setting the environment variable R_GC_MEM_GROW. See ?Memory for more details. o ('For experts only', as the introductory manual says.) The use of environment variables R_NSIZE and R_VSIZE to control the initial (= minimum) garbage collection trigger for number of cons cels and size of heap has been restored...
2013 Apr 03
0
R 3.0.0 is released
...ell as quoted help topics. To support this, completion inside quotes are now handled by R by default on all platforms. o The memory manager now allows the strategy used to balance garbage collection and memory growth to be controlled by setting the environment variable R_GC_MEM_GROW. See ?Memory for more details. o ('For experts only', as the introductory manual says.) The use of environment variables R_NSIZE and R_VSIZE to control the initial (= minimum) garbage collection trigger for number of cons cels and size of heap has been restored...