search for: inforamation

Displaying 2 results from an estimated 2 matches for "inforamation".

Did you mean: infomation
2007 Aug 23
1
.Call and to reclaim the memory by allocVector
...ode is here ---------------------------- dyn.load("crossprod2.so") cp <- function(a, b) .Call("crossprod2", a, b) gctorture() a<-1:10000 b<-1:1000 gc() #i c<-cp(a,b) rm(c) gc() #ii -------------- When I run the above code in a fresh start R (version 2.5.0) the gc() inforamation is below. I report the last column ("max used (Mb)" ) here, which agrees the linux command "ps aux". Apparently even after I removing the object "c", we still have un-reclaimed 70M bytes of memory, which is approximately the memory size for the object "c"....
2007 Aug 23
1
.Call and to reclaim the memory by allocVector
...ode is here ---------------------------- dyn.load("crossprod2.so") cp <- function(a, b) .Call("crossprod2", a, b) gctorture() a<-1:10000 b<-1:1000 gc() #i c<-cp(a,b) rm(c) gc() #ii -------------- When I run the above code in a fresh start R (version 2.5.0) the gc() inforamation is below. I report the last column ("max used (Mb)" ) here, which agrees the linux command "ps aux". Apparently even after I removing the object "c", we still have un-reclaimed 70M bytes of memory, which is approximately the memory size for the object "c"....