Last post Nov 30, 2017 02:13 AM by Cathy Zou
Nov 29, 2017 02:44 AM|Guhananth|LINK
I have 2 xml success.xml and error.xml. I had merged these 2 xml into Final.xml . If success and errror.xml is too big. while joining in Final.xml. i am getting error Memory outof bound exception.
Nov 29, 2017 08:06 AM|shyam5109|LINK
Might below links would be helpful:
Nov 30, 2017 02:13 AM|Cathy Zou|LINK
How you join 2 Xml success.xml and error.xml?
I supposed that you get the error about “memory out of bound except” when you read the final.xml document, right?
If that the case,
As far as I know,
The problem is that, if the size of the XML file is for e.g. 5 GB to 7 GB, we have to load the complete file in System’s memory. This will cost us systems memory and will throw “System out of Memory Exception”. The best approach to process such large files
is to avoid loading the files into the memory. The best approach is to use XmlTextReader and process the XML file line by line
If not, would you please show me some code about how you 2 xml. And error you received raised in which code line
Besides, you also could check the following links which will be help for you.