Message-ID: <48D9ED12.2080202@statistik.tu-dortmund.de>
Date: 2008-09-24T07:32:34Z
From: Uwe Ligges
Subject: cannot allocate memory
In-Reply-To: <4751dbe70809231842i3b375416icb609350d02ef86a@mail.gmail.com>
DumpsterBear wrote:
> 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?
> *** I did gs() and got
gc(), I think.
Uwe Ligges
> used (Mb) gc trigger (Mb) max used (Mb)
> Ncells 147534 4.0 407500 10.9 407500 10.9
> Vcells 104939449 800.7 186388073 1422.1 185874684 1418.2
>
> The garbage collection didn't help.
>
> Any ideas? Many thanks in advance!
>
> -- Adam
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.