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.
      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 TheMarlin801, 10-13-2020, 01:40 AM
            20 responses
            3,913 views
            0 likes
            Last Post Bidder
            by Bidder
             
            Started by timmbbo, 07-05-2023, 10:21 PM
            3 responses
            150 views
            0 likes
            Last Post grayfrog  
            Started by Lumbeezl, 01-11-2022, 06:50 PM
            30 responses
            804 views
            1 like
            Last Post grayfrog  
            Started by xiinteractive, 04-09-2024, 08:08 AM
            3 responses
            11 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by Johnny Santiago, 10-11-2019, 09:21 AM
            95 responses
            6,194 views
            0 likes
            Last Post xiinteractive  
            Working...
            X