• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 idleme125, Today, 02:15 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Marco  
            Started by junkone, Today, 02:42 AM
            0 responses
            5 views
            0 likes
            Last Post junkone
            by junkone
             
            Started by pmfracer, Today, 01:45 AM
            0 responses
            5 views
            0 likes
            Last Post pmfracer  
            Started by voltation, Today, 12:58 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_ChrisSch  
            Started by RobertoPaez, Yesterday, 08:13 PM
            1 response
            16 views
            0 likes
            Last Post brucerobinson  
            Working...
            X