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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X