Displaying 1 result from an estimated 1 matches for "50412232".
Did you mean:
041222
2005 Nov 15
1
cannot.allocate.memory.again and 32bit<--->64bit
...(my.vector)/1024^2
[1] 381.4698
> 100000*500*8/1024^2 #calculate object.size directly
[1] 381.4697
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 162257 4.4 350000 9.4
350000 9.4
Vcells 50060239 382.0 50412232 384.7 50060419 382.0
3.state: well, let create a matrix of the same size from this vector
--------------------------------------------------------------------------
> my.matrix<-matrix(my.vector,nrow=100000,ncol=500)
> gc()
used (Mb) gc trigger...