Skip to content
Prev 20634 / 63421 Next

Memory allocation fails in R 2.2.1 and R 2.3.0 on SGI Irix, (PR#8862)

On Mon, 15 May 2006, m.vroonhoven at erasmusmc.nl wrote:

            
You can tell if you have a 64bit build of R by looking at
.Machine$sizeof.pointer in R, which should be 8.

If not, then you need to set whatever C and Fortran compilation flags give 
a 64bit system. It doesn't look to me as if R's configure script has any 
special handling for C compiler flags on SGI.

If you have a 64bit build then something strange is happening. The message 
you quote happens only when malloc() returns NULL, so it is hard to see 
how R could be causing it, though.

 	-thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle