Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer AddChartIndicator() Memory Leak

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

    Strategy Analyzer AddChartIndicator() Memory Leak

    Just wanted to report that the Strategy Analyzer has a memory leak, which I think is related to AddChartIndicator().

    When I try to Optimize a strategy that contains calls to AddChartIndicator() the Strategy quickly consumes all the memory available on my PC (32GB!!). The Optimization process also gets slower and slower. It becomes completely unresponsive eventually and the only option is a force quit.

    I'm talking about a regular Optimization with tens-of-thousands of iterations.

    By removing the calls to AddChartIndicator() the situation resolves itself. However, this unfortunately means that the "Chart" view on the strategy Analyzer isn't very useful.

    #2
    Hello kevinenergy,

    Thanks for the post.

    I am thinking this issue is unique to either the strategy or the indicator being used in that strategy. The SampleMACrossover strategy uses AddChartIndicator() and does not give unexpected performance or end results. While I can not profile custom code, I would be happy to try and replicate the environment you are using where the results you describe are produced, then see if that will cause the SampleMACrossover to do this. If that is OK, please send me an email to platformsupport[at]ninjatrader[dot]com with "ATTN ChrisL <Thread link here>" in the body of the email.

    I look forward to your reply.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Working...
    X