Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization Binging on memory usage

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

    Optimization Binging on memory usage

    Memory usage goes to 96% and sits there with no cpu cycles....

    Is there a file that outputs any errors that are taking place during the optimization that would show a problem? I checked the log and trace files and no messages are in there during the time of the run.

    The only way to get this to quit is to kill process, which also seems to have negative effects on ninjatrader the next time its opened...any ideas?

    #2
    Hello neb1998,

    Yes, errors are logged to the trace file.
    My Documents\NinjaTrader\Trace

    There isn't an additional place these would be logged. NinjaTrader places no limits to the number of tests you can run at any given time so it's possible the optimization process is still running. If you can send screenshots of your optimizer run, this should provide us more details about the type and number of optimizations you're doing.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Ryan what do you mean of the run? The Status Screen showing time remaining or what? I dont get much feedback when its running other than from the taskmanager??

      Comment


        #4
        The optimizer settings. Inputs expanded with from, to, and increment filled in. If you have a strategy we can use to see the issue, can include that as well and we can compare.
        Attached Files
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Images

          I cant Post The Code...if you like i could send it to you directly.

          I have a single long entry with 4 exits. Unmanaged,
          Attached Files

          Comment


            #6
            Sure, can send strategy separately to support 'at' ninjatrader 'dot' com.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Thank you for the files. Will give it a run here and update you tomorrow.
              Ryan M.NinjaTrader Customer Service

              Comment


                #8
                Ryan,

                I may have fixed the problem. I had a factor that was tied to 2 exits i had mislabeled. I am not sure why it would necessarily cause extreme memory usage but when i changed it the memory usage dropped significantly. Most of the run stays under 1gb.

                Comment


                  #9
                  Great - thank you for the update, neb and glad to hear the memory usage is in line with your expectations.
                  Ryan M.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  85 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  47 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  29 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Started by TheRealMorford, 03-05-2026, 06:15 PM
                  0 responses
                  32 views
                  0 likes
                  Last Post TheRealMorford  
                  Started by Mindset, 02-28-2026, 06:16 AM
                  0 responses
                  67 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Working...
                  X