{"action":"created","issue":{"url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/666","repository_url":"https://api.github.com/repos/codecentric/spring-boot-admin","labels_url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/666/labels{/name}","comments_url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/666/comments","events_url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/666/events","html_url":"https://github.com/codecentric/spring-boot-admin/issues/666","id":303847722,"number":666,"title":"ByteBuf leak","user":{"login":"didiez","id":632860,"avatar_url":"https://avatars2.githubusercontent.com/u/632860?v=4","gravatar_id":"","url":"https://api.github.com/users/didiez","html_url":"https://github.com/didiez","followers_url":"https://api.github.com/users/didiez/followers","following_url":"https://api.github.com/users/didiez/following{/other_user}","gists_url":"https://api.github.com/users/didiez/gists{/gist_id}","starred_url":"https://api.github.com/users/didiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didiez/subscriptions","organizations_url":"https://api.github.com/users/didiez/orgs","repos_url":"https://api.github.com/users/didiez/repos","events_url":"https://api.github.com/users/didiez/events{/privacy}","received_events_url":"https://api.github.com/users/didiez/received_events","type":"User","site_admin":false},"labels":[{"id":116927067,"url":"https://api.github.com/repos/codecentric/spring-boot-admin/labels/bug","name":"bug","color":"fc2929","default":true},{"id":450348972,"url":"https://api.github.com/repos/codecentric/spring-boot-admin/labels/server","name":"server","color":"4d4d4d","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/codecentric/spring-boot-admin/milestones/16","html_url":"https://github.com/codecentric/spring-boot-admin/milestone/16","labels_url":"https://api.github.com/repos/codecentric/spring-boot-admin/milestones/16/labels","id":2738104,"number":16,"title":"2.0.0","description":"","creator":{"login":"joshiste","id":8779225,"avatar_url":"https://avatars3.githubusercontent.com/u/8779225?v=4","gravatar_id":"","url":"https://api.github.com/users/joshiste","html_url":"https://github.com/joshiste","followers_url":"https://api.github.com/users/joshiste/followers","following_url":"https://api.github.com/users/joshiste/following{/other_user}","gists_url":"https://api.github.com/users/joshiste/gists{/gist_id}","starred_url":"https://api.github.com/users/joshiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshiste/subscriptions","organizations_url":"https://api.github.com/users/joshiste/orgs","repos_url":"https://api.github.com/users/joshiste/repos","events_url":"https://api.github.com/users/joshiste/events{/privacy}","received_events_url":"https://api.github.com/users/joshiste/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":11,"state":"open","created_at":"2017-09-01T09:57:08Z","updated_at":"2018-03-23T18:56:34Z","due_on":null,"closed_at":null},"comments":27,"created_at":"2018-03-09T13:52:28Z","updated_at":"2018-03-23T18:58:58Z","closed_at":"2018-03-23T18:56:34Z","author_association":"NONE","body":"I have upgraded to the latest version (2.0.0-SNAPSHOT) and I am now getting an `OutOfDirectMemoryError` after some time of normal usage.\r\n\r\nThe server is configured to monitor the applications registered to our eureka server.\r\n\r\nHere is the stacktrace:\r\n\r\n```\r\nio.netty.handler.codec.EncoderException: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 251658247, max: 257425408)\r\n        at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:106) ~[netty-codec-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.CombinedChannelDuplexHandler.write(CombinedChannelDuplexHandler.java:348) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.handler.timeout.IdleStateHandler.write(IdleStateHandler.java:304) ~[netty-handler-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at reactor.ipc.netty.channel.ChannelOperationsHandler.doWrite(ChannelOperationsHandler.java:291) ~[reactor-netty-0.7.5.RELEASE.jar!/:0.7.5.RELEASE]\r\n        at reactor.ipc.netty.channel.ChannelOperationsHandler.drain(ChannelOperationsHandler.java:465) ~[reactor-netty-0.7.5.RELEASE.jar!/:0.7.5.RELEASE]\r\n        at reactor.ipc.netty.channel.ChannelOperationsHandler.flush(ChannelOperationsHandler.java:191) ~[reactor-netty-0.7.5.RELEASE.jar!/:0.7.5.RELEASE]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:776) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:802) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1051) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:300) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at reactor.ipc.netty.http.HttpOperations.lambda$then$0(HttpOperations.java:135) ~[reactor-netty-0.7.5.RELEASE.jar!/:0.7.5.RELEASE]\r\n        at reactor.ipc.netty.FutureMono.lambda$deferFuture$0(FutureMono.java:68) ~[reactor-netty-0.7.5.RELEASE.jar!/:0.7.5.RELEASE]\r\n        at reactor.ipc.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:134) ~[reactor-netty-0.7.5.RELEASE.jar!/:0.7.5.RELEASE]\r\n        at reactor.core.publisher.Mono.subscribe(Mono.java:3080) ~[reactor-core-3.1.5.RELEASE.jar!/:3.1.5.RELEASE]\r\n        at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.drain(MonoIgnoreThen.java:167) ~[reactor-core-3.1.5.RELEASE.jar!/:3.1.5.RELEASE]\r\n        at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:56) ~[reactor-core-3.1.5.RELEASE.jar!/:3.1.5.RELEASE]\r\n        at reactor.core.publisher.Mono.subscribe(Mono.java:3080) ~[reactor-core-3.1.5.RELEASE.jar!/:3.1.5.RELEASE]\r\n        at reactor.core.publisher.FluxConcatIterable$ConcatIterableSubscriber.onComplete(FluxConcatIterable.java:141) ~[reactor-core-3.1.5.RELEASE.jar!/:3.1.5.RELEASE]\r\n        at reactor.core.publisher.FluxConcatIterable.subscribe(FluxConcatIterable.java:60) ~[reactor-core-3.1.5.RELEASE.jar!/:3.1.5.RELEASE]\r\n        at reactor.core.publisher.MonoSourceFlux.subscribe(MonoSourceFlux.java:47) ~[reactor-core-3.1.5.RELEASE.jar!/:3.1.5.RELEASE]\r\n        at reactor.ipc.netty.channel.ChannelOperations.applyHandler(ChannelOperations.java:380) ~[reactor-netty-0.7.5.RELEASE.jar!/:0.7.5.RELEASE]\r\n        at reactor.ipc.netty.http.client.HttpClientOperations.onHandlerStart(HttpClientOperations.java:501) ~[reactor-netty-0.7.5.RELEASE.jar!/:0.7.5.RELEASE]\r\n        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[netty-common-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) ~[netty-common-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) ~[netty-transport-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) ~[netty-common-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_101]\r\nCaused by: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 251658247, max: 257425408)\r\n        at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:640) ~[netty-common-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:594) ~[netty-common-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:764) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:740) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:244) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.PoolArena.allocate(PoolArena.java:214) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.PoolArena.allocate(PoolArena.java:146) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:324) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:185) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:176) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:113) ~[netty-buffer-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.handler.codec.http.HttpObjectEncoder.encode(HttpObjectEncoder.java:92) ~[netty-codec-http-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.handler.codec.http.HttpClientCodec$Encoder.encode(HttpClientCodec.java:167) ~[netty-codec-http-4.1.22.Final.jar!/:4.1.22.Final]\r\n        at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:88) ~[netty-codec-4.1.22.Final.jar!/:4.1.22.Final]\r\n        ... 37 common frames omitted\r\n```\r\n\r\nAnyone else with this problem?"},"comment":{"url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/comments/375767485","html_url":"https://github.com/codecentric/spring-boot-admin/issues/666#issuecomment-375767485","issue_url":"https://api.github.com/repos/codecentric/spring-boot-admin/issues/666","id":375767485,"user":{"login":"joshiste","id":8779225,"avatar_url":"https://avatars3.githubusercontent.com/u/8779225?v=4","gravatar_id":"","url":"https://api.github.com/users/joshiste","html_url":"https://github.com/joshiste","followers_url":"https://api.github.com/users/joshiste/followers","following_url":"https://api.github.com/users/joshiste/following{/other_user}","gists_url":"https://api.github.com/users/joshiste/gists{/gist_id}","starred_url":"https://api.github.com/users/joshiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshiste/subscriptions","organizations_url":"https://api.github.com/users/joshiste/orgs","repos_url":"https://api.github.com/users/joshiste/repos","events_url":"https://api.github.com/users/joshiste/events{/privacy}","received_events_url":"https://api.github.com/users/joshiste/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T18:58:58Z","updated_at":"2018-03-23T18:58:58Z","author_association":"MEMBER","body":"I finally could track down the issue. `-Dio.netty.leakDetectionLevel=paranoid` helped. It turned out that the responses from the WebClient weren't always consumed and therefore the underlying buffers weren't released."}}
{"actor":{"display_login":"joshiste"}}