Re: [Rd] Memory allocation (PR#8304)

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Sun 13 Nov 2005 - 22:15:18 GMT

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@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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Nov 14 09:37:29 2005

This archive was generated by hypermail 2.1.8 : Mon 14 Nov 2005 - 02:21:12 GMT