Hi all
Two computers:
one is my desktop PC, windows2000, R 1.9.1. Physical RAM 256MB, Swap
(Virtual memory) 384Mb. When I allocate a large matrix, it firstly
uses up RAM, then use swap space. In windows' task manager, the usage
of memory could exceed my physic RAM's size.
The other machine is a
From: Hu Chen
Hi all
Two computers:
one is my desktop PC, windows2000, R 1.9.1. Physical RAM 256MB, Swap
(Virtual memory) 384Mb. When I allocate a large matrix, it firstly
uses up RAM, then use swap space. In windows' task manager, the usage
of memory could exceed my physic RAM's size.
On a 32-bit windows (standard install or R) machine you cannot allocate more
than 2Gigs
of memory,
R --max-mem-size=2G
or
R --max-mem-size=2000M
If you try to allocate more than 2G (eg 4000 Meg) I suspect it then defaults
back to 1Gig. Check you memory limit with memory.limit(). There is lots