I am try to fit an eGARCH model on an expanding basis using the rugarch package. I have 6 columns of data, and I am trying refit parameters ~6000 for each column. If I run the following code, I get an error in windows on the 2nd column (this means I am getting all the way through the first inner loop succesfully). By using gc() within the loop and removing the fitted object I have extended the length of time it takes to hit the memory error. Also, this process takes a very long time in general and I am wondering if there is anyway to improve it on my end. The package itself seems to be written very efficiently with most of the filtering being done in low level C. I could probably refit the model every 30-60 days, but I would really prefer to do it this way. I am running R 2.13.2 on 32-Bit windows. Thanks in advance. Edit: The error is: "The instruction at "0x6c732a07" referenced memory at "0x00000008." The memory could not be "read"". After searching through the forums (and also posting on Stack Overflow, so sorry if you are reading this twice) I also tried using memory.limit(size = 3092), which did not solve the problem. The surprising thing about this is that my objects are not very big, I never would have expected to have so many memory errors.