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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        66 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X