[R] memory problems

Alex R. Kraaijeveld a.kraayeveld at imperial.ac.uk
Tue Jan 28 13:53:02 CET 2003

Hi all

New to R, and to this list, so this may be an old (and hopefully simple to 
solve!) problem.

When running an aov analysis, after fitting two-way interactions, I get an 
error message saying 'can not allocate vector of 8515Kb'. Often other 
programs are then kicked out of memory or the whole computer crashes. I've 
tried bumping up memory by adding max-mem-size, max-vsize, min-vsize, 
max-nsize, min-nsize, etc commands (with parameter values up to 1G)  to the 
start-up line, but that either doesn't work or makes matters worse (i.e 
analysis crashes earlier).

Our computer support officer here has looked at the problem and he does not 
believe it has to do with the actual amount of physical RAM of my machine, 
but more with the way R handles memory. I run R under Windows NT, by the way.

Any suggestions as to what I'm doing wrong?

Thanks for any help!

Dr Alex R. Kraaijeveld

NERC Centre for Population Biology
Imperial College London, Silwood Park Campus
Ascot, Berkshire SL5 7PY
England, UK
tel:  +44-(0)20-75942544
fax: +44-(0)1344-873173
e-mail: a.kraayeveld at imperial.ac.uk

Cloonaughill Celtic Malts

More information about the R-help mailing list