Tried to update my historical FOREX charts via the Historical Data Manager. For updating I selected the instrument list "FOREX", which contains the following instruments
- AUDUSD
- EURCHF
- EURGBP
- EURJPY
- EURUSD
- GBPUSD
- USDCAD
- USDCHF
- USDJPY
System.OutOfMemoryException was unhandled
Message: An unhandled exception of type 'System.OutOfMemoryException' occurred in NinjaTrader.Core.dll
Details in the trace file shown were:
2016-12-10 23:47:10:282 Exception of type 'System.OutOfMemoryException' was thrown.
2016-12-10 23:47:11:363 ERROR: Failed to call 'Add' method: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at NinjaTrader.Data.Chunk..ctor(Int32 lengthOfChunk, Double tickSize) at NinjaTrader.Data.BarsSeries.AddBar(Double open, Double high, Double low, Double close, DateTime time, Int64 volume, Double tickSizeIn, Double bid, Double ask) at NinjaTrader.Data.Bars.AddBar(Double open, Double high, Double low, Double close, DateTime time, Int64 volume, Double tickSizeIn, Double bid, Double ask) at NinjaTrader.Data.BarsType.AddBar(Bars bars, Double open, Double high, Double low, Double close, DateTime time, Int64 volume, Double bid, Double ask) at NinjaTrader.NinjaScript.BarsTypes.TickBarsType.OnD ataPoint(Bars bars, Double open, Double high, Double low, Double close, DateTime time, Int64 volume, Boolean isBar, Double bid, Double ask) at NinjaTrader.Data.BarsSeries.Add(Bars bars, Double open, Double high, Double low, Double close, DateTime time, Int64 volume, Double tickSize, Boolean isBar, Double bid, Double ask)
2016-12-10 23:47:12:431 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at NinjaTrader.Data.BarsBytes.GetFileName(DateTime time, Instrument instrument, BarsPeriodType periodType, MarketDataType marketDataType)
at NinjaTrader.Data.BarsSeries.Save()
at NinjaTrader.Data.Bars.Save()
at NinjaTrader.Data.BarsSeries.<>c__DisplayClass120_2 .<DownloadFromProvider>b__4(Bars b, ErrorCode c, String m, Object s)
at NinjaTrader.Cbi.Instrument.<>c__DisplayClass202_0. <RequestBars>b__1(Object o)
at System.Threading.QueueUserWorkItemCallback.WaitCal lback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System. Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWa itCallback()
NinjaTrader was entirely frozen and I had to close via the Process Explorer.
Afterwards I got an error message: "Unable to recover NinjaTrader custom assembly. Please reinstall NinjaTrader."
All this happened just, because I started downloading historical data.
Comment