Hi, I use R to do some ARIMA forecasting and R runs out of memory. The problem is that I have 20160 samples(which are quite alot) and when I try to fit the model it runs out of memory. I tried with memory.size() to change the limit, but it wouldn't work. Is there anything you can suggest? Is it possible R can use virtual memory? Thank you, Kosta
Looking at the posting guide will increase the chance to get a helpful response from this list. No one knows what kind of operating system are you running: Is it Windows,MacOS or Linux (32 or 64 bit)? Memory related problems are reported daily so it could be much beneficial to browse the help-archive ( has an efficient search facility ) Some reccent suggestions on memory limitations are found there.... Thomas> I use R to do some ARIMA forecasting and R runs out > of memory. The problem is that I have 20160 > samples(which are quite alot) and when I try to fit > the model it runs out of memory. I tried with > memory.size() to change the limit, but it wouldn't > work. Is there anything you can suggest? Is it > possible R can use virtual memory?
R does use virtual memory, and memory.size() (Windows only) is documented to report the usage, not change the limit. Please read that help page more carefully. If you are not already doing so, try arima0 rather than arima. And do see the posting guide! On Tue, 22 Feb 2005, Konstantinos Kleisouris wrote:> I use R to do some ARIMA forecasting and R runs out > of memory. The problem is that I have 20160 > samples(which are quite alot) and when I try to fit > the model it runs out of memory. I tried with > memory.size() to change the limit, but it wouldn't > work. Is there anything you can suggest? Is it > possible R can use virtual memory?> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595