似乎在Tomcat重启时没有清理couchbase I / O线程。每当Tomcat重新启动时,我都会看到以下内容。
cb-io-1-7 2015-04-10 12:00:40 ERROR ResourceLeakDetector:176 - 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 '-Dcom.couchbase.client.deps.io.netty.leakDetectionLevel=advanced' or call ResourceLeakDetector.setLevel()
cb-io-1-6 2015-04-10 16:15:25 ERROR ResourceLeakDetector:176 - 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 '-Dcom.couchbase.client.deps.io.netty.leakDetectionLevel=advanced' or call ResourceLeakDetector.setLevel()
cb-io-1-7 2015-04-10 22:38:41 ERROR ResourceLeakDetector:176 - 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 '-Dcom.couchbase.client.deps.io.netty.leakDetectionLevel=advanced' or call ResourceLeakDetector.setLevel()
cb-io-1-8 2015-04-11 04:24:26 ERROR ResourceLeakDetector:176 - 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 '-Dcom.couchbase.client.deps.io.netty.leakDetectionLevel=advanced' or call ResourceLeakDetector.setLevel()
cb-io-1-3 2015-04-11 12:12:08 ERROR ResourceLeakDetector:176 - 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 '-Dcom.couchbase.client.deps.io.netty.leakDetectionLevel=advanced' or call ResourceLeakDetector.setLevel()
cb-io-1-1 2015-04-11 14:31:22 ERROR ResourceLeakDetector:176 - 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 '-Dcom.couchbase.client.deps.io.netty.leakDetectionLevel=advanced' or call ResourceLeakDetector.setLevel()
使用Couchbase Java SDK:2.1.0和Tomcat:7。