[Rd] Memory allocation (PR#8304)

Simon Urbanek simon.urbanek at r-project.org
Sun Nov 13 23:15:18 CET 2005


Hans,

this is not a bug! You're simply running out of memory as the message  
tells you (allocating ca. 570MB? That's lot...) . You should consider  
re-phrasing the problem (preferably) or getting more memory and/or  
using 64-bit version of R where applicable.

Cheers,
Simon

On Nov 13, 2005, at 3:47 PM, hans.kestler at gmail.com wrote:

> Full_Name: Hans Kestler
> Version: 2.2.0
> OS: 10.4.3
> Submission from: (NULL) (84.156.184.101)
>
>
>> sam1.out<-sam(raw1[,2:23],raw1.cl,B=0,rand=124)
>
> We're doing 319770 complete permutations
>
> Error: cannot allocate vector of size 575586 Kb
> R(572,0xa000ed68) malloc: *** vm_allocate(size=589402112) failed  
> (error code=3)
> R(572,0xa000ed68) malloc: *** error: can't allocate region
> R(572,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug
> R(572,0xa000ed68) malloc: *** vm_allocate(size=589402112) failed  
> (error code=3)
> R(572,0xa000ed68) malloc: *** error: can't allocate region
> R(572,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



More information about the R-devel mailing list