Calling gc() before starting a memory-intensive task is normally a good
idea, as it helps avoid memory fragmentation (which is possibly a problem
in a 32-bit OS, but you did not say). R 2.1.0 beta has some dodges to
help, so you may find if helpful to try that out.
On Mon, 4 Apr 2005, Mike Hic
The code sniplet you provided is nowhere near correct or sufficient for
anyone to help. Please (re-)read the posting guide and try again.
Andy
> From: Mike Hickerson
>
> Hello
>
> I am getting memory allocation errors when running a function
> that uses
> locfit within a for loop. After 25
Hello
I am getting memory allocation errors when running a function that uses
locfit within a for loop. After 25 or so loops, it gives this error.
"Error: cannot allocate vector of size 281250 Kb"
Running on linux cluster with a Gb of RAM. Problem never happens on my
OS X (less memory). T