• 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

Memory issues with optimisation

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

    Memory issues with optimisation

    Hello,

    Ninja seems to run out of memory when I'm trying to optimise a strategy.

    I'm optimising 3 different variables in steps of 2
    for example

    2:40:2
    5:75:2
    1:19:2

    saving the top 7000 results so further analysis can be conducted in excel.

    Ninja's estimated time is ~35 mins, and 25 min into it, Ninja fall over with a big red cross in the optimisation screen, saying it has detected a problem and has to shut down - then an "out of memory" screen popup occurs..

    any suggestions as I'm running a dual core 2gig memory as its a hassle trying to go through every combo manually.

    Thanks for your help

    cheers,
    Leonie

    #2
    I don't know for sure but I believe NT6.5 is not optimized for multi-core and leaves a lot to be desired in the area of memory management.

    I believe this is a known issue and reserve judgement until NT7 sees the light of day in the near future...

    Comment


      #3
      NinjaTrader 6.5 does not support multi-core processors; this will be supported in NinjaTrader 7.

      You would need to reduce the memory/resource request of NinjaTrader by reducing the optimization request.

      In addition, you can find a link with performance tips to reduce memory/resource request of NinjaTrader below.
      http://www.ninjatrader-support.com/H...anceTips1.html
      JasonNinjaTrader Customer Service

      Comment


        #4
        Thanks Jason,

        I reduced the parameters by 50% (3000 results) and reducing the steps and Ninja struggled but got a result. Unfortunately it crashed again when I asked it to complete another step. So I think I might have to close the program and re-start.
        The trace file mentioned the bounds are outside the array..

        Comment


          #5
          Closing Strategy Analyzer and reopening may be useful too. That maybe enough to invoke the .NET garbage collector to clean out the resources.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Thanks Josh,

            I'll try that first

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cassiano_sanches, Today, 07:37 PM
            0 responses
            5 views
            0 likes
            Last Post cassiano_sanches  
            Started by terminatorT1000, Today, 06:40 PM
            0 responses
            5 views
            0 likes
            Last Post terminatorT1000  
            Started by Giudiver, Today, 04:29 PM
            0 responses
            7 views
            0 likes
            Last Post Giudiver  
            Started by mlarocco, 03-03-2018, 03:54 PM
            12 responses
            1,299 views
            0 likes
            Last Post SawDr
            by SawDr
             
            Started by TakingStock12, Today, 04:05 PM
            2 responses
            15 views
            0 likes
            Last Post NinjaTrader_ShawnB  
            Working...
            X