Skip to content

Heap size

2 messages · Konstantinos Euripides Vorloou, Brian Ripley

#
Hi,

I am trying to create a matrix 8000x8000 but cannot
make R work properly with:

rgui --vsize 30 --nsize 1000000

I can't pass an nsize value more than 1000000.

What are the limits uder windows 98 ?

Best,
Costas



--
-------------------------------------------------------------------------

Konstantinos E. Vorloou           | Tel: +44 (0)191 374 1821
Department of Economics & Finance | Fax: +44 (0)191 374 7289
University of Durham,             | email: K.E.Vorloou at durham.ac.uk
23/26 Old Elvet,                  | or : vorlow at rocketmail.com
Durham DH1 3HY,                   | or : Vorlow at bigfoot.com
UK.                               | Express:
20595534 at pager.mirabilis.com
                                  | ICQ number: 20595534
http://www.durham.ac.uk/Economics | http://www.durham.ac.uk/~dec3kev
-------------------------------------------------------------------------



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
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.