[R] Is there any way to release memory in running time?

Witold Eryk Wolski wolski at molgen.mpg.de
Thu Sep 30 19:06:26 CEST 2004


?gc
/E
wanr at ucalgary.ca wrote:

>Hi all,
>
>I am doing some intensive computation right now. My system is Pentium4 3.20G 
>+ 1.0G RAM + WindowsXP + R1.9.1. It seems my computer is very powerful. 
>However, when I do some simple matrix algebra operations based on a matrix 
>(DD) with dimension 5000000 by 2, I found that the consumption of RAM is 
>huge. For example, the command a <- 1 - DD[,2] eats my 100M RAM. Does anyone 
>know how to release memory in the middle of program (running time)? BTW, the 
>command rm() does not free memory unless you quit R as I as know. Thanks in 
>advance.
>
>Rui
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>  
>


-- 
Dipl. bio-chem. Witold Eryk Wolski         
MPI-Moleculare Genetic
Ihnestrasse 63-73 14195 Berlin           _
tel: 0049-30-83875219                   'v'
http://www.molgen.mpg.de/~wolski       /   \
mail: witek96 at users.sourceforge.net  ---W-W----
      wolski at molgen.mpg.de




More information about the R-help mailing list