Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Memory Leakage Issues

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

    Memory Leakage Issues

    I am having a number of memory leakage issues with NT. As my system runs memory is slowly consumed. NT grows from about 500 Mb to 1.2 Gb in about 12 hours. I have looked at performance tips and reviewed what i could finds about this subject in the forum.

    I will use this thread to ask questions which may help me to resolve these issues.

    The area that seems to produce the most leakage is in order handling. I have a strategy that puts out many orders and continuously adjusts and cancels them while running. The entry orders are limit orders. NT using the managed approach modifies these orders if parameters change, as these orders are called in OnBarUpdate(). This is fine however my question is this. If I use liveUntilCancelled in the limit order, does NT release the memory on my next call to modify this order? or do i have to use CancelOrder() to release memory, etc. before calling the EnterLongLimit() again? Thank you.

    Tony

    #2
    tony,

    In your strategy, are you using Log() or Trace() commands? How many trades would your strategy take in a day?
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      I am not using Trace() or Log(). Memory usage grows even if there are no trades. There are possibly 100 orders live at any time and they would be updated hundred of times in an hour.

      Comment


        #4
        tony,

        This issue is most likely caused by the Log and Trace being loaded into memory. With 100 orders and hundreds of order updates per hour you would see a gradual growth in RAM usage. To be clear, its not a memory leak.

        Unfortunately there is no supported way of disabling the logging.

        Please let me know if I may assist further.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Ryan,

          Can you please make a request that your developers take a look at this, since an intentional memory growth issue should not be acceptable in real-time automated systems. Thank you.

          Tony

          Comment


            #6
            tony,

            Thanks for your note.

            I will suggest to development on your behalf.

            Please let me know if I may be of further assistance.
            Adam P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by algospoke, 04-17-2024, 06:40 PM
            6 responses
            48 views
            0 likes
            Last Post algospoke  
            Started by arvidvanstaey, Today, 02:19 PM
            4 responses
            11 views
            0 likes
            Last Post arvidvanstaey  
            Started by samish18, 04-17-2024, 08:57 AM
            16 responses
            61 views
            0 likes
            Last Post samish18  
            Started by jordanq2, Today, 03:10 PM
            2 responses
            9 views
            0 likes
            Last Post jordanq2  
            Started by traderqz, Today, 12:06 AM
            10 responses
            19 views
            0 likes
            Last Post traderqz  
            Working...
            X