[R] cannot allocate vector of size...

silvia narduzzi narduzzi at asplazio.it
Fri Jul 25 12:26:38 CEST 2008


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



More information about the R-help mailing list