[R] Error: cannot allocate vector of size

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Mar 26 16:57:24 CET 2011



On 25.03.2011 23:32, 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.


If it worked exactly the way before on the same machine, you probably 
have too huge objects in your workspace.

Uwe Ligges


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



More information about the R-help mailing list