Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 crash while using Strategy Analyzer

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

    NT7 crash while using Strategy Analyzer

    While using Strategy Analyzer, I got the "needs to shutdown" message as well as the Red X across a chart. See attached screenshot of my entire desktop with error message.

    On Friday or Sat, the same thing happened three times in succession (also while using Strategy Analyzer). I did as the msg said and sent an email to support via the Help tab (which includes the trace & log files) but got an email from Jason this AM saying to post here instead. I'm attaching all the trace/log files (that it will allow me to) here. Let me know how to send them if you need additional files.
    Attached Files

    #2
    Sorry there is a misunderstanding regarding the logs and traces (I just clarified with Jason).

    - please make sure your are on NT7B4
    - could you please send again by Help->Mail to support, subject "for Dierk" and reference this thread (you attached only logs files, this only is half the story)

    Thanks

    Comment


      #3
      I got your traces and logs. We'll look into and will let you know. Thanks

      Comment


        #4
        I saw the exceptions in your trace file, but we had been unable to reproduce. Would you have a step by step scenario? Thanks

        Comment


          #5
          I also have this problem with 7.0.0.6. The problem is there's absolutely no clue in the logs or trace. I think it happens when I optimise for data series, and it runs for more than about 10 mins. It doesn't look memory related - I know what those look like.

          Is there any extra debug logging I can turn on to get some idea what's going wrong?

          Comment


            #6
            Originally posted by dave1992 View Post
            Is there any extra debug logging I can turn on to get some idea what's going wrong?
            Unfortunately not, a reproducible scenario in this case is what would be helpful.
            RayNinjaTrader Customer Service

            Comment


              #7
              It appears to me to happen when optimising, and it appears to be cumulative in the sense that after I've done two or three optimisations, of around a few mins each, it just crashes randomly during one of them. The only error I've found is in my system error log

              .NET Runtime version 2.0.50727.3603 - Fatal Execution Engine Error (7A09795E) (80131506)

              I'll try rebooting and re-installing.
              thanks
              Dave

              Comment


                #8
                There's a chance this is a hardware memory error. Please ignore for now.

                thanks
                Dave

                Comment


                  #9
                  Thanks for letting us know.
                  RayNinjaTrader Customer Service

                  Comment


                    #10
                    SystemOutofMemoryException

                    I get the same SystemOutofMemoryException and NT7 needs to shutdown after runnning an optimization. At first I thought it was my code but SampleMa does the same. It seems SA cannot hold more than around 30 000 results. Prameters: 1;200;1 Fast,1;200;1 Slow, Keep # of best results 100 000. I tested on two different c2duo 2gb ram systems, one xp, one vista, same thing. Optimization results cannot be saved/exported to Excel.

                    Comment


                      #11
                      fafura,

                      You are trying to save lots of data. 2GB RAM would not necessarily be enough to suffice in such an extensive test. Also, Excel does not allow for that many rows. Max # of rows in Excel is 65536.

                      Suggest you try saving less results at a time.
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        Excel is not an issue here, since tested strategy provides only 40 000 and I should be able to somehow save them or print. What do you get when run this strategy and try to save the results? How much ram do you have? What if I want to print over 65 536 (Excel limit) results or save them somehow? Is it possible? Or is around 30 000 optimization results the limitation of the Ninja Trader platform?

                        Comment


                          #13
                          To complete the operation you were doing used over 2.5GB of RAM out of the 8GBs on this machine. For your machine with only 2GB you would have for sure hit that OutOfMemoryException. I suggest you tone down the number of results or permutations you are attempting to do/save.
                          Josh P.NinjaTrader Customer Service

                          Comment


                            #14
                            So if I want 64000 results (MACross parameters 1;253;1), how much ram would I need and what operating system should I use?

                            Comment


                              #15
                              fafura,

                              It is not that simple. Memory consumption is highly dependent on the length of the backtest, the number of trades taken throughout those backtests, and the time interval used. A minute series would take significantly less memory than a tick series.

                              You are pushing the limits with that kind of optimization. If you really want that many results I suggest you just break up the optimization to different segments and do it a few times to get the full population of results.

                              Any operating system will work and the more RAM the better is a general guideline. Note that 32bit machines max out processes at about 1.5-2GB I believe so if you really want a 64bit machine may be better. All in all, I strongly recommend you decrease the optimization load.
                              Josh P.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              636 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              366 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              107 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              569 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              571 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X