Skip to content
Prev 10545 / 398502 Next

Run out of memory

On Mon, 2 Apr 2001, Hongli Li wrote:

            
matrix,  when I trying to get the distance matrix using function dist( ), the
memory exhausted, and I tried to set the memory when I run R by
That's not the way to do it in recent versions of R.
doesn't change)
Upgrade your R and your computer's RAM?   To store the result needs
200Mb on my calculation, and then you need to do something with it.
It worked in about 5 minutes and 400Mb on a 1Gb 600MHz Linux machine.

However, what are you then going to do with this?  Hierarchical clustering
on 7000 points is not very sensible, and kmeans does not need a distance
matrix.