memory in "org.jgroups.stack.NakReceiverWindow" is growing rapidly even when application is kept idle without any activity

Solution Unverified - Updated -

Issue

  • memory is growing rapidly even when application is kept idle without any activity, we too heap dumps and found out that org.jgroups.protocols.pbcast.NAKACK/org.jgroups.message is consuming most of the menory footprint and this is not being referred by application. Attaching the heap dumps.. Please look into it and suggest why those objects are consuming memory and what configuration can be done to overcome this memory issu
Class Name                                                        | Shallow Heap | Retained Heap | Percentage
--------------------------------------------------------------------------------------------------------------
org.jgroups.protocols.pbcast.NAKACK @ 0xab8f9888                  |          200 |   890,357,616 |     76.56%
|- java.util.concurrent.ConcurrentHashMap @ 0xab8f9d38            |           64 |   890,354,560 |     76.56%
|  |- java.util.concurrent.ConcurrentHashMap$Node[32] @ 0xade18868|          144 |   890,354,456 |     76.56%
|  |  '- java.util.concurrent.ConcurrentHashMap$Node @ 0xade188f8 |           32 |   890,354,312 |     76.56%
|  |     '- org.jgroups.stack.NakReceiverWindow @ 0xade18918      |           64 |   890,354,280 |     76.56%
|  |        |- org.jgroups.util.RetransmitTable @ 0xade18968      |           80 |   890,353,792 |     76.56%
|  |        |  '- org.jgroups.Message[13][] @ 0xe3a7fe40          |           72 |   890,353,712 |     76.56%
|  |        |     |- org.jgroups.Message[16384] @ 0xcfb7a3d0      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xd3ec51f0      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xc7654958      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xcb99ee28      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xb52f5628      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xc3499b08      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xd80d5970      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xdc478910      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xba78acc0      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xe06ae068      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xbf8224c0      |       65,552 |    69,664,784 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xae3e4608      |       65,552 |    69,660,536 |      5.99%
|  |        |     |- org.jgroups.Message[16384] @ 0xe3a7fe88      |       65,552 |    54,380,480 |      4.68%
|  |        |     |- class org.jgroups.Message[][] @ 0xadcfc4e8   |            0 |             0 |      0.00%
|  |        |     |- class org.jgroups.Message[] @ 0xadcfc5a8     |            0 |             0 |      0.00%
--------------------------------------------------------------------------------------------------------------

Further checking the attributes/value of => org.jgroups.stack.NakReceiverWindow

Type|Name |Value

long|highest_stability_seqno|0

long|highest_received |209471

long|highest_delivered |0

Environment

  • Red Hat JBoss Enterprise Application Platform(RHEAP)

    • 7.0.6
  • java version "1.8.0_141"
    Java(TM) SE Runtime Environment (build 1.8.0_141-b15)
    Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In