by moderator » Fri Jan 25, 2008 11:57 am
There is no hard limit on the sample size RATS can handle, up to the limitations of 32-bit addressing (or 64-bit addressing for 64-bit versions of RATS, which are currently only available for UNIX and Linux).
So, assuming you are using WinRATS or MacRATS, you are limited to accessing a a maximum of 2Gb of memory. Each real number requires 8 bytes of storage, so you can multiply your total number of observations by 8 to get a rough estimate of how much data you can handle.
For example, your CAL and ALL setup:
cal(perday=1440,daily) 2000 1 2
all 2007:2:28//1440
gives 2,689,920 observations per series, so you'll need roughly 22 Mb of RAM for each data series. Multiply that by the number of series you need to work with, and you'll have a ballpark estimate of the memory requirements.
Note that you also need to allow for temporary space for any calculations you need to do, storing reserved variables, some overhead for storing additional information about each series, and so on. But it works to give a rough idea.