• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 lavalampmj, Today, 05:25 PM
    0 responses
    3 views
    0 likes
    Last Post lavalampmj  
    Started by Antares66, Today, 05:19 PM
    0 responses
    2 views
    0 likes
    Last Post Antares66  
    Started by jmneto, Today, 05:18 PM
    0 responses
    4 views
    0 likes
    Last Post jmneto
    by jmneto
     
    Started by Bobbyj78, Today, 02:21 PM
    2 responses
    14 views
    0 likes
    Last Post bltdavid  
    Started by EnveousColnago, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Ariana  
    Working...
    X