[R] maximum of nsize=20000k ??

Thomas Lumley thomas at biostat.washington.edu
Thu Nov 9 17:26:21 CET 2000


On Thu, 9 Nov 2000, Marcus Eger wrote:

> 
> Dear R-ers,
> 
> somehow it is not possible to increase nsize to more than
> 20000k. When I specify e.g.
> 
> > R --vsize=10M --nsize=21000K
> 
> the result is:
> 
>           free   total (Mb)
> Ncells   99658  350000  6.7
> Vcells 1219173 1310720 10.0
> 
> Maybe I have overlooked s.th....


This was a bug. In src/system/sys-common.c there is
  #define Max_Nsize 20000000
that you can change to
  #define Max_Nsize 50000000

5e7 is about the limit, since we need to be able to fit the cons cells in
2Gb of memory.

Under the new memory manager in 1.2 this is unnecessary, as you don't need
to specifiy a --nsize or --vsize. 


	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list