Am Donnerstag, den 28.07.2011, 17:10 -0500 schrieb Douglas Bates:
> The matrix you are trying to produce is 763 MB in size
> > (10000 * 10000 * 8)/(1024 * 1024)
> [1] 762.9395
> 
> because it will be stored as double precision floating point numbers.
> If it is sufficient to have the result as an integer matrix you can
> cut its size in half by changing the first argument to c(-1L, 1L).

Thank you for this advise.

> In general you should expect R to use a small number (say < 5) copies
> of the object you wish to create during its construction so you are
> probably using several gigabytes of memory here and you may be seeing
> swapping.

On all other systems I tried this on an error was thrown like

        Error: cannot allocate vector of size 3.7 Gb

although swapping should have been possible there too. On my system
system not even the clock applet in my GNOME desktop advanced and the
mouse pointer did not move for over ten minutes, so I am pretty sure the
system froze.


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to