Skip to content
Prev 22754 / 398502 Next

AW: [R] Out of memory

On Mon, 19 Aug 2002, Nikolaus Hansen wrote:

            
(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
in.

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.)