I've been using Ninja trader now for some time and understand how having more charts, strategies, etc open, requires more system memory to handle. However, recently I have been getting the following error when backtesting a strategy using 1 minute and the corresponding 1 second chart for the ES-0310 from 1/1/2010-3/14/2010.
4/5/2010 10:26DefaultFailed to call 'Add' method for period type 'Tick': Exception of type 'System.OutOfMemoryException' was thrown.4/5/2010 6:09DefaultFailed to call 'Add' method for period type 'Tick': Exception of type 'System.OutOfMemoryException' was thrown.
I am running 6.5.1000.15 and my system has 4gig of RAM and it appears that I don't have any other charts or strategies running. When I look at the results, it seems like it loads data fine for all dates except 2/6/2010 through 3/1/2010. There is no data for those dates in the backtest. I have even re-initialized my db as it was around 700MB. However, when I look at the trace file, it appears to be loading 1 minute charts for a bunch of instruments I had open in the past...and there is some line in there about MarketDatabuf that points to files in a \db\data subdirectory.
Can you please help point me in the right direction?
Thanks in advance for your help, Randy
Comment