PDA

View Full Version : Reload Historical Data error


Lost Trader
11-01-2009, 02:22 PM
I did a reload historical data on my 16807 Volume chart of NQ and eventually this error occurred (see attachment). Only this one chart was open.

System: XP Pro, Quad 2.83GHz CPU, 2GB RAM

Lost Trader
11-01-2009, 03:26 PM
NT's log is full of these :
Failed to call 'Add' method for period type 'Tick': Exception of type 'System.OutOfMemoryException' was thrown.

which is totally stupid the only chart is Volume based, not tick.

I repaired the database, and restarted NT but still getting these.

NinjaTrader_Jason
11-02-2009, 02:36 AM
Hello Lost Trader,

Volume charts are built by tick data.
http://www.ninjatrader-support.com/HelpGuideV6/HowDoesNinjaTraderBuildChartBars.html

The Out-Of-Memory exception indicates too much resources were requested from your PC. Please reduce resource request of NinjaTrader to avoid this error.

Check if you are running workspaces in the background (these will request data & resources as well) and close them. Can you please restart NinjaTrader and go to File-->Workspaces and check what workspaces are listed below 'Save Workspace As'. The workspace with the checkmark is the workspace opened on your monitor. Any additional workspaces listed, are opened in the background.

Select a workspace without a checkmark and subsequently go to File-->Workspaces-->Close Workspace. Repeat this process until only one workspace is opened.

Close some charts, SuperDOM's or other NinjaTrader windows. Reduce the amount of indicators in your chart or set 'Calculate on bar close' to True. Reduce the amount of historical data in your charts by configuring the Format Data Series window.

More tips can be found at the following link.
http://www.ninjatrader-support.com/HelpGuideV6/PerformanceTips1.html

In addition, please see the forum thread below regarding the same error.
http://www.ninjatrader-support2.com/vb/showthread.php?t=10724&highlight=Failed+to+call+%27Add%27+method+for+peri od+type+%27Tick%27%3A+Exception+of+type+%27System. OutOfMemoryException%27+was+thrown