brainlag / JavaNSQClient

Fast Java client for NSQ
MIT License
90 stars 57 forks source link

Incorrect usage of Netty's ByteBuf class in JavaNSQClient library #34

Closed kant111 closed 7 years ago

kant111 commented 7 years ago

The following error happens simply when reading messages for a while from NSQConsumer.

[nioEventLoopGroup-2-2] ERROR io.netty.util.ResourceLeakDetector - 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.

brainlag commented 7 years ago

Should be fixed with 6947bff3edabb1b602f5017dc5ffbd2eb445906e