[R] R memory issues

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Nov 12 16:47:00 CET 2014


On 12/11/2014 15:18, ce wrote:
> you may try to increase virtual memory :
>
> http://windows.microsoft.com/en-us/windows/change-virtual-memory-size#1TC=windows-7

That is a very low plausibility for the error.  See the discussion in 
the FAQ: 
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#There-seems-to-be-a-limit-on-the-memory-it-uses_0021 
and the discussion of fragmentation in ?"Memory-limits" .

As others have said: get a 64-bit OS -- the only 32-bit one I have seen 
for several years now is on an old Windows sub-notebook with an Atom CPU.

>
> -----Original Message-----
> From: "eliza botto" [eliza_botto at hotmail.com]
> Date: 11/11/2014 02:35 PM
> To: "r-help at r-project.org" <r-help at r-project.org>
> Subject: [R] R memory issues
>
> Dear useRs,
> I have this funny thing going on with me since morning. I am 32 bit window 7 system with 4 GB RAM(2.95 usable). I tried to run a code on it but when I tried to convert dataframe to matrix by using the following code
> mat<-matrix(as.numeric(unlist(SFI)),nrow=nrow(SFI))
> *where SFI is my dataframe.
> an error came up, "Error: cannot allocate vector of size 237.3 Mb"
> I tried to increase memory by using memory.limit(2500) but to no effect.
> Kindly help me out on it as you always do.
> Thanks,
> Eliza 		 	   		
> 	[[alternative HTML version deleted]]
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK



More information about the R-help mailing list