Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Historical data import - leaking memory

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

    Historical data import - leaking memory

    Just one quarter of data is leaking as much as 200 megs of memory... Need to make this a bit more robust so that large files can be loaded.. export doesnt seem to have this problem. Just the import process. Also, please ensure that large files (worth several years) can be loaded as well.. this might come in handy when I actually buy tick data.

    Easy to reproduce as well. Just export out a file and try to import it back while watching the memory.

    #2
    Not sure what you mean by "leaking". Obviously NT needs to allocate memory as you import data. That's exactly what you see.

    Comment


      #3
      Here are the steps to replicate:
      1. Goto Instrument manager and select one of the highly liquid index futures. Set the expiry to ##-## and add it to your list on the left.
      2. Export out last four quarters of 2009.
      3. Import each one after renaming the file's expiry to ##-##. For example ES 1209.Last.txt to ES ##-##.Last.txt and then import. Check the two boxes on the import tab.
      4. Watch the task manager for memory (both in processes and performance tabs). It will not be released. This might make it difficult to import large files.

      Comment


        #4
        .NET runtime is a garbage collection system -> monitoring RAM in task manager is no indication of memory leaking

        Comment


          #5
          Please execute the steps listed below on xp and draw your own conclusions. App shuts down after importing few quarters worth of data. Generally using products such as Boundschecker or Purify would pin point the problem.

          Comment


            #6
            You are correct in your findings: NT does consume RAM as you would import tick data and have "generate minute bars" or "generate daily bars" checked. This is a bug which will be fixed with next update.

            Thanks for pointing that out.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            599 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            344 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            103 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            558 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            557 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X