On Mon, 1 Sep 2003, Lariani,Sofiane,LAUSANNE,NRC/BAS wrote:

> Hi,
> I want to free memory used by R. The usage of rm and gc give no result. I'm
> running  an algorithm consuming a huge memory and I need to recover the
> memory used by R between 2 call of my algorithm.
> Thank you in advance for your help.

There is no portable way (and often no way at all) for a program to return
memory to the operating system.

On the other hand, a competent virtual memory system will page unused
memory to disk fairly quickly, which has more or less the same effect
unless you are short of disk space.

        -thomas

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to