netDxf icon indicating copy to clipboard operation
netDxf copied to clipboard

A 32-bit program throws an exception of System.OutOfMemoryException

Open Ersoga opened this issue 2 years ago • 1 comments

In the EncodingType class, an OutOfMemoryException is raised when a large FileStream is read. throw by the line: image

I made the following modifications: add function: image Modify the GetType function: image

Ersoga avatar Nov 28 '22 08:11 Ersoga

I see why that method might fail in a 32 bit system with very big files, what I do not understand is why is giving you problems since that is old code not used anymore, I should have deleted it.

haplokuon avatar Dec 01 '22 17:12 haplokuon