Thomas Lumley tlumley at u.washington.edu
Fri Mar 21 08:39:33 CET 2003

On Wed, 19 Mar 2003, kjetil brinchmann halvorsen wrote:

> On 19 Mar 2003 at 8:57, Michael D. Ward wrote:
> Please use a subject line!
> I have a machine with 1.5Gb of physical memory, and have for a long
> time used --max-mem-size 2G,
> without any problems. Just yesterday that wasn't enough, so I tried
> to increase to --max-mem-size 4G, which was rejected by R.
> I lowered to 3G, and the program seemt to be running fine, but
> eventually I had to kill the process (hanging).
> This is windows XP professional. So, at least on XP, there is
> certainly not a hard coded limit of 1G. But why the limit somewhere
> between 3 and 4G?

Well, 4Gb is the maximum addressable with 32bit pointers and you would
need to fit the operating system and the R program in there as well as the
R heap.


More information about the R-help mailing list