AW: [R] Out of memory ripley at
Mon Aug 19 15:23:01 CEST 2002

On Mon, 19 Aug 2002, Nikolaus Hansen wrote:

> But you did not comment all the reasonable commands I typed in
(Andy added on another one) without getting a reasonable response from R.
Why not? Thus it seemed to me that you would expect and accept that
kind of behaviour of R: E.g. loading some data into memory which exceed
the recent memory size will result in refusing any further command
(more precise: getting a prompt and an invariable response to any
typed command). This is not exactly helpful...

Would you prefer the process to be terminated?  You used up all the
resources allocated to R.  None could be freed by garbage collection.
What was R supposed to do?  There was no memory left to do anything else

I think this circumstance is very rare (normally you get enough memory
back to do something).  I would prefer it to allowing R to take over all
the VM on a computer, when you probably need to reboot. Those who have not
seen this happen on a departmental server (say) should consider themselves
fortunate.  (It was open to you to set any limit you like if you prefer
this behaviour.)

Brian D. Ripley,                  ripley at
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

More information about the R-help mailing list