Re: [Rd] [R] Suspected memory leak with R v.2.5.x and large matrices with dimnames set

From: Seth Falcon <>
Date: Sat, 18 Aug 2007 12:21:00 -0700

Hi Peter,

Peter Waltman <> writes:
> Admittedly, this may not be the most sophisticated memory profiling
> performed, but when using unix's top command, I'm noticing a notable
> memory leak when using R with a large matrix that has dimnames
> set.

I'm not sure I understand what you are reporting. One thing to keep in mind is that how memory released by R is handled is OS dependent and one will often observe that after R frees some memory, the OS does not report that amount as now free.

Is what you are observing preventing you from getting things done, or just a concern that there is a leak that needs fixing? It is worth noting that the internal handling of character vectors has changed in R-devel and so IMO testing there would make sense before persuing this further, I suspect your results will be different.

+ seth

Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center

______________________________________________ mailing list
Received on Sat 18 Aug 2007 - 21:04:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 20 Aug 2007 - 11:38:34 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.