<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,<br/></div><div><br/></div><div>While doing some experiments with
large in-RAM vectors I find that R_alloc won't give me 2GB of RAM or
more although there is sufficient RAM available. My setup is the
following: <br/></div><div><br/></div><div>Win 7 64 bit, Rwin 64<br/></div><div>Machine has 16 GB - more than 14 GB free<br/></div><div>Then I allocate 4GB within R: double(2^29)<br/></div><div>When trying to R_alloc 2GB it fails with 'can't allocate'<br/></div><div>although I have 10 GB free and within R I can still allocate much more (tested up to 12GB).<br/></div><div><br/></div><div>I
don't want to use allocVector because the C-function that does memory
size calculations and allocation doesn't know about SEXPs.<br/></div><div><br/></div><div>Do I need any specifc setting? Switching to Linux? C_alloc? malloc?<br/></div><div><br/></div><div>Kind regards<br/></div><div><br/></div><div><br/></div><div>Jens Oehlschlägel<br/></div><div><br/></div><div><br/></div><div><br/></div><div>> version<br/> _ <br/>platform x86_64-w64-mingw32 <br/>arch x86_64 <br/>os mingw32 <br/>system x86_64, mingw32 <br/>status <br/>major 2 <br/>minor 15.2 <br/>year 2012 <br/>month 10 <br/>day 26 <br/>svn rev 61015 <br/>language R <br/>version.string R version 2.15.2 (2012-10-26)<br/>nickname Trick or Treat<br/></div></div></body></html>