Dear all,

my R-program which does a lot of object allocation / de-allocation.

To be able to run it without running into excessive swapping, I have  
to set an limit on the maximum memory used by R.

Within terminal, this can be done easily:

        ulimit -m 1000000
        R
        > source("myprogram.R")

I can then observe nicely in ActivityMonitor that the amount of  
memory used by R growth upto 1GB (my machine has 1.5GB installed) and  
is then reduced drastically by the garbage collector.

But I would prefer to work in the GUI (R.app). Is there a way to set  
such an limit for the R-process started within the GUI?

Thanks in advance for your help,

Best regards,
Klaus

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to