This project has moved and is read-only. For the latest updates, please go here.

OutOfMemoryException using X12Import

Sep 14, 2016 at 4:45 PM
I am getting an OutOfMemoryException when trying to use X12Import on a 210MB file.
90MB file works fine, box has tons of memory.

OopFactory.X12.ImportX12.exe Error: 0 : Error parsing C:\Temp\Inbound\large834file.txt: Exception of type 'System.OutOfMemoryException' was thrown.
at OopFactory.X12.Parsing.Model.DetachedSegment.Initialize(String segment)
at OopFactory.X12.Parsing.Model.Container.AddSegment(String segmentString, Boolean forceAdd)
at OopFactory.X12.Parsing.X12Parser.ParseMultiple(Stream stream, Encoding encoding)
at OopFactory.X12.ImportX12.Program.Main(String[] args)