双11线上压测netty内存泄露

时间:2021-04-22 16:27:58

  最近线上压测,机器学习模型第一次应用到线上经历双11大促。JSF微服务有报错

LEAK: ByteBuf.release() was not called before it's garbage-collected. Enable advanced

leak reporting to find out where the leak occurred. To enable advanced leak reporting,

specify the JVM option '-Dio.netty.leakDetection.level=advanced' or call ResourceLeakDetector.setLevel()

See http://netty.io/wiki/reference-counted-objects.html for more information.

查文章看 netty有泄露。

连接: http://calvin1978.blogcn.com/articles/netty-leak.html