From simon.urbanek at r-project.org  Sun Nov 13 23:15:18 2005
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Sun, 13 Nov 2005 17:15:18 -0500
Subject: [Rd] Memory allocation (PR#8304)
In-Reply-To: <20051113204717.85CD2223D7@slim.kubism.ku.dk>
References: <20051113204717.85CD2223D7@slim.kubism.ku.dk>
Message-ID: <51C972C6-5870-4ED1-B2C5-07C0B7A0E893@r-project.org>

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
>
>



[Rd] Memory allocation (PR#8304)
Simon Urbanek