Ah hah.  I shall consult our local statistician for help.

Thanks much,
Alan



On Nov 28, 2005, at 6:00 AM, r-sig-mac-request@stat.math.ethz.ch wrote:

> Message: 3
> Date: Sun, 27 Nov 2005 20:31:57 -0400
> From: Simon Urbanek <simon.urbanek@r-project.org>
> Subject: Re: [R-SIG-Mac] Memory error
> To: Alan Olav Bergland <Alan_Bergland@brown.edu>
> Cc: r-sig-mac@stat.math.ethz.ch
> Message-ID: <10E1EC98-E6E2-4AE0-BFE2-2F82B0FBFFFC@r-project.org>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>
> On Nov 27, 2005, at 4:37 PM, Alan Olav Bergland wrote:
>
>> When I attempt to run a rather hefty lme model, I get the following
>> error message:
>>
>>> clinal7.lme<-lme(ovn~tlc+geno+log(food), clinal, random=~tlc+geno
>> +log(food)|block/lat)
>> Error in logLik.lmeStructInt(lmeSt, lmePars) :
>> 	Calloc could not allocate (500237956 of 8) memory
>> R(1049,0xa000ed68) malloc: *** vm_allocate(size=4001906688) failed
>> (error code=3)
>> R(1049,0xa000ed68) malloc: *** error: can't allocate region
>> R(1049,0xa000ed68) malloc: *** set a breakpoint in szone_error to
>> debug
>>
>>
>> I'm running R Version 2.2.0  (2005-10-06 r35749) on a iMac running
>> OS  10.4.3
>>
>>
>> Any suggestions?
>
> Reformulate your problem.
> The lme you run with that data attempts to allocate 4GB of memory
> which is a bit too much. Even if you put 8GB in a G5 and run 64-bit
> version of R it's likely to run out of memory or to take forever ...
> Maybe someone will be able to help you to solve your problem in a
> different way if you specify more precisely what you are trying to do
> (including size of the data etc.).
>
> Cheers,
> Simon


	[[alternative HTML version deleted]]

