Dear list,

I have spotted what could be a memory leak somewhere.

The example below shows how to quickly use up RAM on a linux machine
(the example is taylored for a 2Gb machine, change the size of the matrix m
is needed).

# ---
m <- matrix(rnorm(130), nrow=6000, 6)
X11(type="cairo")
pairs(m)

# --- here the trouble starts (monitor the memory usage as the plot goes).
pairs(m, pch="+")

# this does not seem to act on memory usage of the R process
dev.off()
gc()

# the only way to get back some memory is to kill the R process.




L.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to