Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can I trust BackTest results when I get the 'System.OutOfMemoryException' error?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can I trust BackTest results when I get the 'System.OutOfMemoryException' error?

    I am running a backtest from Jan 1, 2009 - present; 10 tick bars.

    I can watch the memory utilization ... it creeps up to 1.2GB/1.3GB and just like clockwork, I see that dreaded entry in the Log tab. Memory dips to about 1.0GB, but then it slowly gets back up there, and then another log entry.

    Just for the record, the Log entry is this:
    Failed to call 'Add' method for period type 'Tick'. Exception of type 'System.OutOfMemoryException' was thrown.


    I'm not that concerned about this error...I'm just hoping/expecting NT7 to solve this problem completely (is that realistic?).


    ANYWAY, my real question is this: can I trust the results of a backtest if that error is thrown?

    Thanks for any thoughts about this.

    #2
    >> ANYWAY, my real question is this: can I trust the results of a backtest if that error is thrown?
    No you can't. Backtest results are only accurate if you wouldn't see any strange log messages.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    333 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    211 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    196 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    287 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    242 views
    0 likes
    Last Post CarlTrading  
    Working...
    X