-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache
Description
Elasticsearch version: 2.3.3
JVM version: java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
OS version: centos 6.3 (x86_64) :: linux 2.6.32-279.el6.x86_64
Description of the problem including expected versus actual behavior:
We upgraded our cluster from 1.4.4 to 2.3.3 and now experiencing an issue where nodes become unresponsive and get heavily garbage collected. A Node restart helps for about 24 hours until 24Gb of RAM get fully utilized again.
Provide logs (if relevant):
jmap -histo:live
on the node with 91.1% heap used shows that 4.5Gb is taken by org.codehaus.groovy.runtime.metaclass.MetaMethodIndex
num #instances #bytes class name
----------------------------------------------
1: 86241328 4829514368 org.codehaus.groovy.runtime.metaclass.MetaMethodIndex$Entry
2: 66209193 1922638888 [Ljava.lang.Object;
3: 34089692 1636305216 java.lang.invoke.MethodHandleImpl$CountingWrapper
4: 62450344 1498808256 org.codehaus.groovy.util.FastArray
5: 33948832 1086362624 java.util.HashMap$Node
6: 223427 1063930664 [B
7: 6938969 999212432 [Lorg.codehaus.groovy.util.ComplexKeyHashMap$Entry;
8: 27089896 866876672 java.lang.invoke.BoundMethodHandle$Species_LL
9: 17686899 707475960 java.lang.invoke.BoundMethodHandle$Species_L3
10: 5818726 612509464 [C
11: 23980 604964856 [I
12: 16356260 523400320 org.codehaus.groovy.util.SingleKeyHashMap$Entry
13: 495640 515466624 [Lorg.codehaus.groovy.runtime.metaclass.MetaMethodIndex$Entry;
14: 7202607 460966848 java.lang.invoke.BoundMethodHandle$Species_L4IL4
15: 2020760 383997512 [Ljava.util.HashMap$Node;
16: 7202607 345725136 java.lang.invoke.BoundMethodHandle$Species_L5
17: 3003762 264331056 java.lang.reflect.Method
18: 7884148 252292736 java.lang.invoke.BoundMethodHandle$Species_L
19: 7434592 237906944 groovy.lang.MetaBeanProperty
20: 4553471 218566608 java.util.HashMap
21: 2508224 200657920 java.lang.reflect.Constructor
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache