Skip to content
Prev 2416 / 398506 Next

Heap size

On Fri, 16 Apr 1999, Konstantinos Euripides Vorloou wrote:

            
It is not a question of limits under Windows 98, It is a question of limits
under R.  Which version is this?  (You should be using 30M not 30
in a current version.)

The nsize limit is currently 20,000,000 in both Unix and gnuwin32 versions,
but you can increase it by re-compiling. You are trying to create a 488Mb
matrix (if real) and I would have thought heap space not cons cells was
your problem. That has a limit of 2048M.

If I try

 matrix(0, 8000, 8000) -> jj

I get

Error: heap memory (30720 Kb) exhausted [needed 500000 Kb more]
       See "help(Memory)" on how to increase the heap size.