Heap dump shows memory accumulation in one instance of org.jgroups.protocols.FRAG3
Environment
- Red Hat Data Grid
Issue
- java.lang.OutOfMemoryError: Java heap space
- Heap dump analysis shows retention in a single instance of org.jgroups.protocols.FRAG3 that is a Java Local:
Class Name | Shallow Heap | Retained Heap
----------------------------------------------------------------------------------------------------------------------------
java.lang.Thread @ 0xe5036ee0 jgroups-12345 Thread| 120 | 11,600
|- <class> class java.lang.Thread @ 0x60046060 System Class | 40 | 184
|- group java.lang.ThreadGroup @ 0x40000528 main | 48 | 4,256
|- contextClassLoader org.jboss.modules.ModuleClassLoader @ 0x41005dc0 | 88 | 6,120
|- <Java Local> org.jgroups.protocols.FRAG3 @ 0x21eea7c8 | 72 | 1,234,567,890
-----------------------------------------------------------------------------------------------------------------------------
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.