cannot allocate memory
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