[R] cannot allocate vector of size...

From: silvia narduzzi <narduzzi_at_asplazio.it>
Date: Fri, 25 Jul 2008 12:26:38 +0200


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. Received on Fri 25 Jul 2008 - 09:32:57 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:45 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