JBoss EAP has heap growth in com.sun.org.apache.xerces.internal.dom.DocumentImpl from CXF WebService processing after upgrading to EAP 8
Issue
- After upgrading from EAP 7 to EAP 8, we see large heap growth in a
com.sun.org.apache.xerces.internal.dom.DocumentImpl
object'snodeUserData
map after many CXF web service client calls:
Class Name | Shallow Heap | Retained Heap | Percentage
------------------------------------------------------------------------------------------------------------
com.sun.org.apache.xerces.internal.dom.DocumentImpl @ 0xe25d4778| 136 | 158,840,920 | 26.33%
'- nodeUserData java.util.HashMap @ 0xe25d4870 | 48 | 158,840,760 | 26.32%
'- table java.util.HashMap$Node[1048576] @ 0xfe700000 | 4,194,320 | 158,840,712 | 26.32%
- The heap growth in this map is from many
com.sun.org.apache.xerces.internal.dom.TextImpl
objects with similar repeating string values:
Class Name | Objects | Shallow Heap | Retained Heap
----------------------------------------------------------------------------------------
com.sun.org.apache.xerces.internal.dom.TextImpl| 540,569 | 17,298,208 | >= 38,351,888
----------------------------------------------------------------------------------------
Environment
- JBoss Enterprise Application Platform (EAP) 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.