Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

out of memory

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

    out of memory

    When i run my strategy on 7.22 using StratAnalyzer and only a few days of lookback, it completes, but when i shift to 10 or 20 days it crashes b/c of Out of Memory. What kind of debugging tools are useful for finding where the memory is getting sucked up? Other than just eliminating sections of code. (eg Print Memory Use?)

    #2
    Hello ssylwester,

    Thank you for your post

    So that I can see what might be taking place in the background, please send us your log & trace files for today.

    You can find these in your (My) Documents folder at the file path:
    1. NinjaTrader 7 > Trace > trace.YYYYMMDD.txt
    2. NinjaTrader 7 > Log > log.YYYYMMDD.txt

    (see screenshots for examples)

    Just attach these text (.txt) files to an email and send to support AT ninjatrader DOT com.

    Thank you,
    Attached Files
    ChipNinjaTrader Customer Service

    Comment


      #3
      Chip .. thanks much for rapid response.

      I think i may have found the problem. I was calling/referenceing a new object, but in the OnBarUpdate area. It would not let me do it in the Initialize() area. But i found out about hte onStartUp() area, and that seems to have worked.

      Comment


        #4
        Hello ssylwester,

        OK – I’m glad to hear you were able to resolve the issue.

        Please let me know if you have any additional questions or assist with anything else.
        ChipNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        606 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        353 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X