Re: [R] cannot allocate vector of size...

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Fri, 25 Jul 2008 11:45:28 +0200

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.


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. Received on Fri 25 Jul 2008 - 09:47:51 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Jul 2008 - 10:32:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive