Skip to content
Prev 79365 / 398502 Next

strange behaviour of memory management

On Thu, 20 Oct 2005, Meinhard Ploner wrote:

            
What is the message?  Most often this happens not because memory is not 
available but because contiguous memory is not available.  You have only 
3Gb (or less) of process address space, and that can get fragmented enough 
not to find holes for objects of about 240Mb each (assuming numerical 
matrices).
gc() unlikely (R has probably already tried that, but we haven't seen the 
message).  rm(localObjects): yes it can help, even for small objects.

If my guess is right, the real answer is a 64-bit OS.