[R] cannot allocate vector of size...

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Jul 25 11:45:28 CEST 2008


See the FAQs and ?Memory.

Uwe Ligges

silvia narduzzi wrote:
> Hi the list,
> I have a problem of memory space while running step() function:
> 
> Error: cannot allocate vector of size 50.9 Mb
> 
> I've tried with:
>> memory.size(max = FALSE)
> [1] 803.4714
>      #which should be the amount of memory currently in use
>> memory.limit(size = NA)
> [1] 1015.480
>      #which should be the memory size
>> memory.size(max = TRUE)
> [1] 997.75
>     #which should be the maximum amount of memory obtained from the OS 
> 
> 
> Could it be an hardware problem?  or a code problem?
> Is there any solution?
> 
> Thanks
> 
> Silvia Narduzzi
> Dipartimento di Epidemiologia
> ASL RM E
> Via di S. Costanza, 53
> 00198 Roma
> Tel  +39 06 83060461
> Mail  narduzzi at asplazio.it
> 
> ______________________________________________
> 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