Good afternoon. When trying to process an XML file that weighs 556.109 KB and save the information in a database I get the following error:
There was an exception of type 'System.OutOfMemoryException'.
I get this error when you go to approx 89% of the document read. I have been monitoring the computer's RAM and still has space to be allocated when this exception occurs. Using a stacktrace tells me the following:
in System.String.ConcatArray (String [] values, Int32 TotalLength)
System.String.Concat (String [] values)
in ConfigServicio.Form1.LeerXML (FileInfo fileLXML)
Reading on various forums and at various information indicate that there is about computer memory, otherwise it is assigned to the .NET Framework so that it performs the tasks, however, I have not found anything about how to fix it.
If anyone has any form of help I would be forever grateful.