Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.12.2
-
None
-
None
-
None
-
Linux
Description
Changing maxOccurs=unbounded to some finite number throws OOM in JVM. The finite number we have used is from 1000 to 5500 but the creates a memory starvation or resource exhaustion in all JVMs processing XMLs.
The ask to let us know if -
- Is there any boundary value that we can use for maxOccurs in our schema to overcome this issue?
- Is there any fix available in the latest Xerces versions that we can upgrade to and that does not create this OOM exception? Our current version is 2.12.2
- Is there any setting in the JVM (like Heap/Memory) that you recommend for us to use? The current heap size is 6GB for our JVMs
- Is there any attribute that can be added to the schema to fix this issue
Attachments
Issue Links
- duplicates
-
XERCESJ-1227 Poor performance / OutOfMemoryError for sequences, choices and nested with large minOccurs/maxOccurs
- Open