[R] R-1.8.0 memory.limit()
Uwe Ligges
ligges at statistik.uni-dortmund.de
Tue Oct 7 18:28:57 CEST 2003
James MacDonald wrote:
> Using R-1.8.0 (d/l and compiled on 2003-10-01) on WinXP, I seem to be
> unable to determine the maximum memory allocated to R. The help still
> says to use memory.limit(size=NA), but this returns the value NA.
>
> In addition, I have set --max-mem-size=2G but I run out of memory
> somewhere around 500Mb (which is why I am trying to find out how much
> memory is allocated). I don't have any other programs open, so I should
> certainly be able to address more memory than that.
>
> Any ideas?
Yes. 2GB is a bit more than the possible theoretical maximal value for a
single process on 32-bit Windows. Instead, try starting with, e.g.,
"--max-mem-size=1700M" and you'll get
> memory.limit()
[1] 1782579200
Uwe Ligges
> TIA
>
> Jim
>
>
>
> James W. MacDonald
> Affymetrix and cDNA Microarray Core
> University of Michigan Cancer Center
> 1500 E. Medical Center Drive
> 7410 CCGC
> Ann Arbor MI 48109
> 734-647-5623
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
More information about the R-help
mailing list