Skip to content

Options to extend memory limit

4 messages · jennifer.moeller-gulland at de.pwc.com, Ben Bolker, Sébastien Bihorel +1 more

#
<jennifer.moeller-gulland <at> de.pwc.com> writes:
I believe this may be somewhat out of date (although I don't use
Windows so I'm a little rusty). If you are dealing with large databases
you should almost certainly check out the High Performance Computing
task view (you can google it), which recommends many approaches for
dealing with Big Data.
#
On Thu, 11 Oct 2012 14:45:16 +0200,
<jennifer.moeller-gulland at de.pwc.com> wrote:

            
Are you sure you're using the 64 bit R executable which comes with the R
installation?
#
On Oct 11, 2012, at 9:55 AM, "Sebastian P. Luque" <spluque at gmail.com> wrote:

            
Sebastian hit on my initial thought here, though depending upon how much data you are dealing with, 8Gb may indeed not be enough and some of your RAM may be used by other processes/applications, leaving less for R.

A quick check to see which version you are running is to use:

  .Machine$sizeof.pointer

If it returns 8, you are using the 64 bit version of R. If it comes back with 4, you are using the 32 bit version of R, which of course will be more limited in how much RAM it can access.

If it returns 8, then as Ben noted, you may want to evaluate some of the Large Memory options on the HPC task view:

  http://cran.r-project.org/web/views/HighPerformanceComputing.html

or of course install more RAM.

Regards,

Marc Schwartz