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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        154 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        307 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        244 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        345 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        176 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X