R_alloc limit?
On 28 December 2012 at 11:20, "Jens Oehlschl?gel" wrote:
| Hi, | | 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: | | Win 7 64 bit, Rwin 64 | Machine has 16 GB - more than 14 GB free | Then I allocate 4GB within R: double(2^29) | When trying to R_alloc 2GB it fails with 'can't allocate' | although I have 10 GB free and within R I can still allocate much more (tested | up to 12GB). | | I don't want to use allocVector because the C-function that does memory size | calculations and allocation doesn't know about SEXPs. | | Do I need any specifc setting? | Switching to Linux? Yes. I certainly would. It simply works. To paraphrase what Simon said off-(another)-list, you get what you deserve if you try HPC on a Windows system. Dirk | C_alloc? malloc? | | Kind regards | | | Jens Oehlschl?gel | | | | > version | _ | platform x86_64-w64-mingw32 | arch x86_64 | os mingw32 | system x86_64, mingw32 | status | major 2 | minor 15.2 | year 2012 | month 10 | day 26 | svn rev 61015 | language R | version.string R version 2.15.2 (2012-10-26) | nickname Trick or Treat | | ---------------------------------------------------------------------- | _______________________________________________ | R-sig-hpc mailing list | R-sig-hpc at r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com