[R] Error: cannot allocate vector of size

Paul Hiemstra p.hiemstra at geo.uu.nl
Sat Mar 26 10:43:15 CET 2011


Without more detailed information I would say that R runs out of 
memory...and furthermore:

PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

cheers,
Paul

On 03/25/2011 11:32 PM, mipplor wrote:
> i run a model ,but i turn out to be like this. but i have run this model days
> ago and it works well
>
> whats going on here? any suggestion.
>
>
>    
>> model1<‐siarmcmcdirichletv4(data,sources,tef,concdep=0,500000,50000)
>>      
> Error: cannot allocate vector of size 2.2 Gb
> In addition: Warning messages:
> 1: In matrix(1, ncol = (numsources + numiso) * numgroups, nrow =
> (siardata$iterations -  :
>    Reached total allocation of 895Mb: see help(memory.size)
> 2: In matrix(1, ncol = (numsources + numiso) * numgroups, nrow =
> (siardata$iterations -  :
>    Reached total allocation of 895Mb: see help(memory.size)
> 3: In matrix(1, ncol = (numsources + numiso) * numgroups, nrow =
> (siardata$iterations -  :
>    Reached total allocation of 895Mb: see help(memory.size)
> 4: In matrix(1, ncol = (numsources + numiso) * numgroups, nrow =
> (siardata$iterations -  :
>    Reached total allocation of 895Mb: see help(memory.size)
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Error-cannot-allocate-vector-of-size-tp3406597p3406597.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>    


-- 
Paul Hiemstra, MSc
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 253 5773
http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770

currently @ KNMI
paul.hiemstra_AT_knmi.nl



More information about the R-help mailing list