IV04676: OOM MAY OCCUR WHEN AN XML PARSER IS REUSED TO PARSE DOCUMENTS CO NTAINING MOSTLY UNIQUE XML NAMES
Closed as program error.
Error Message: java.lang.OutOfMemoryError . Stack Trace: N/A . A heapdump produced when this issue occurs will contain a large number of instances of org.apache.xerces.util.SymbolTable$Entry.
Create a new XML parser for each usage or cache XML parser instances with SoftReferences to allow the garbage collector to reclaim them if they grow too large.
The XML parser's (default) internal symbol table can grow without bound which may lead to an OutOfMemoryError if the XML names it processes are mostly always unique.
This defect will be fixed in: 5.0.0 SR13 . Provided an alternate parser configuration which uses a memory sensitive SymbolTable that can handle usage scenarios where the names in the XML documents being parsed are mostly unique. The internalized strings stored in this SymbolTable are softly reachable and may be cleared by the garbage collector in response to memory demand. This fix can be enabled by setting the system property: -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache .xerces.parsers.SoftReferenceSymbolTableConfiguration. . To obtain the fix: Install build 20110825 or later
Reported component name
JAVA 5 XML/XSL
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA 5 XML/XSL
Fixed component ID
Applicable component levels
Translate this page: