I had gone through the posts on validating huge xml files but all of those talks about 250MB(Max) file size.
- File size is approximately 10GB.
- I currently have a tasklet to validate the xml which is using XmlValidator to validate the xml file aganist the xsd.
Problem Statment :
When dealing with such a huge xml and validating it loads the entire file in memory so i am getting OutOfMemoryException
.
Is there any way to validate the xml which can perform the validation Streamwise. I dont want to load whole file in-memory while validating.
Thanks in advance.