Is it necessary to remove the exported variable after the parallel computation of Snow ends? I found the memory of 'rsession' process was not changed too much even if clusterEvalQ was called. I suspect there is some memory problem of my sample code below
library(snow)
cl2 <- makeCluster(3, type = "SOCK")
data <- rep(1:10000,10000)
clusterExport(cl2,"data")
# is remove neccssary?
clusterEvalQ(cl2, rm( data, pos=globalenv() ) )
stopCluster(cl2)