I'm slightly confused on the following point: I am running R on 32-bit Windows. My understanding is that I should be able to allocate up to 2GB.
I read though help("Memory")
and launched my R session with the flag RGui.exe --max-mem-size=1000M
. Then confirmed this within R:
> memory.limit()
[1] 1000
But when I run a particular operation, I'm getting an error message which says something like "Cannot allocate object of size 512MB".
Am I doing something wrong?