X12Reader Memory Leak

Post author
Joe Richardson

Hi, I am running into an issue with memory usage when reading batches of 835/837 files using the X12Reader.  I've tried using the Splitter attribute but the problem is actually after the file has been parsed the X12Reader doesn't appear to release the memory it's used (obviously I'm using a using block).  I've tried manually calling Dispose as well as forcing a garbage collection but nothing has worked so far. 

As I'm processing 1,000s of files, the memory use just keeps growing to a point where the utility I created slows to a crawl.  Any ideas or suggestions appreciated!

Thanks,

Joe

Comments

2 comments

  • Comment author
    Admin

    Which version are you using? 9.8.7 is known for multiple memory leaks all of which were fixed in 9.8.7.2

    0
  • Comment author
    Richardson, Joe

    Thanks Don, I was using 9.8.7.  Upgrading to 9.8.7.2 as you suggested worked great.  Thank you!!

    0

Please sign in to leave a comment.