diff --git a/templates/jvm.options.j2 b/templates/jvm.options.j2 index 0e70a75b6ce93..7d750aa1e10f2 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