Message-ID: <4751dbe70809240706u6a4c6e5cg3b88712f5e0945bc@mail.gmail.com>
Date: 2008-09-24T14:06:05Z
From: DumpsterBear
Subject: cannot allocate memory
In-Reply-To: <48D9ED12.2080202@statistik.tu-dortmund.de>
>> I am getting "Error: cannot allocate vector of size 197 MB".
>> I know that similar problems were discussed a lot already, but I
>> didn't find any satisfactory answers so far!
>>
>> Details:
>> *** I have XP (32bit) with 4GB ram. At the time when the problem
>> appeared I had 1.5GB of available physical memory.
>> *** I increased R memory limit to 3GB via memory.limit(3000)
>
>
> Have you told Windows to allow processes of more than 2GB?
Yes, I did. But this only matters if R requests a memory block of size
bigger than 2GB
at one time. As I wrote, I had 1.5GB available of physical memory out of my 4GB.
> gc(), I think.
Yes, indeed.
Many thanks, Adam