From 454bce4353250d36089f80084b24a304f62e4381 Mon Sep 17 00:00:00 2001 From: cinience Date: Sat, 25 Mar 2017 12:34:05 +0800 Subject: [PATCH] Disable the Netty recycler https://github.com/elastic/elasticsearch/pull/22452 --- templates/jvm.options.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/jvm.options.j2 b/templates/jvm.options.j2 index 0e70a75..7d750aa 100644 --- a/templates/jvm.options.j2 +++ b/templates/jvm.options.j2 @@ -70,6 +70,7 @@ # flags to keep Netty from being unsafe -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true +-Dio.netty.recycler.maxCapacityPerThread=0 # log4j 2 -Dlog4j.shutdownHookEnabled=false