Dear R-ers, somehow it is not possible to increase nsize to more than 20000k. When I specify e.g.> R --vsize=10M --nsize=21000Kthe result is: free total (Mb) Ncells 99658 350000 6.7 Vcells 1219173 1310720 10.0 Maybe I have overlooked s.th.... Marcus -- +------------------------------------------------------- | Marcus Eger | E-Mail: eger.m at gmx.de (NEW) | marcus.eger at physik.uni-marburg.de (OLD) +------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Marcus Eger <marcus.eger at physik.uni-marburg.de> writes:> 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....Um, do you really need more than 400MB worth of nodes? It's a sanity check in src/unix/sys-common.c #define Max_Nsize 20000000 /* must be < LONG_MAX (= 2^32 - 1 =) 2147483647 = 2.1e9 */ ..so if you really need it it can be upped by about two orders of magnitudes, but you'd have to recompile. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello, i've tried R --vsize=10M --nsize=2M> gc()free total (Mb) Ncells 1956136 2097152 40 Vcells 1266203 1310720 10 So, do we have to use M's? greetings jan On Thu, 09 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 >-- ----------------------------------- Jan Goebel (mailto:jgoebel at diw.de) DIW German Institute for Economic Research SOEP K?nigin-Luise-Str. 5 D-14195 Berlin Germany phone: 49 30 89789-377 ----------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._