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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    30 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    227 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    309 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X