[R] R 2.9.2 memory max - object vector size
gug
guygreen at netvigator.com
Fri Sep 11 12:47:55 CEST 2009
At the risk of stating the obvious:
- rm(.....) # clears specific objects out of memory as soon as they're no
longer needed in the routine.
- sapply(ls(), function(x) object.size(get(x))) #lists all objects with
the memory each is using.
- rm(list=ls()) #clears out all objects, e.g. before the routine, to free
up memory.
Guy
S. Few wrote:
>
> ## PROBLEM:
>
> I have memory limit problems. R and otherwise. My dataframes for
> merging or subsetting are about 300k to 900k records.
> I've had errors such as vector size too large. gc() was done.....reset
> workspace, etc.
>
--
View this message in context: http://www.nabble.com/R-2.9.2-memory-max---object-vector-size-tp25390745p25398830.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list