From ligges@statistik.uni-dortmund.de  Tue Apr 17 07:16:03 2001
From: ligges@statistik.uni-dortmund.de (Uwe Ligges)
Date: Tue, 17 Apr 2001 08:16:03 +0200
Subject: [Rd] cannot allocate vector of size 71773 Kb (PR#915)
References: <200104170334.FAA19601@pubhealth.ku.dk>
Message-ID: <3ADBDFA3.91667E53@statistik.uni-dortmund.de>



cdhershberger@dow.com wrote:
> 
> Full_Name: Doug Hershberger
> Version: 1.2.2
> OS: Red Hat-Linux 7.0
> Submission from: (NULL) (216.99.65.36)
> 
> In the R FAQ I find the following entry explaining that R no longer has
> problems with memory.
> 
> http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why%20does%20R%20run%20out%20of%20of%20memory%3f
> 
> However in my installation: R Version 1.2.2  (2001-02-26)
> 
> Installed from the red hat RPM on your site on a Red Hat 7.0 i686
> 
> I get the following error when working with large data sets:
> 
>                 > source("/usr/local/genex/rcluster/lib/rcluster/r/hcluster.r");
>                > breadth.program("uploaded_data.txt", "average", 10)
>                 Read 2 items
>                 Read 8574 items
>                 Error: cannot allocate vector of size 71773 Kb
>                 Execution halted
> 
> Is there a way to fix this? This is running as part of the GeneX
> installation so I would have to dig through to figure out how to give R
> more memory.
> 
> Besides which I don't think that will work.
> 
> Thanks for any insight that you can provide.


That is NOT A BUG!

Have a look at ?Memory
Start R with --max-mem-size=xxxM

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] cannot allocate vector of size 71773 Kb (PR#915)
Uwe Ligges