@normanmaurer this is the memory counter patch netty/netty#8945 thanks.
I am working on the heap dump (but it is huge), but I think that current discussion already helped me a lot in understanding the mechanics of using Netty allocators out side Netty threads. So I think I won't find much valueable data in the dump.
Hi, simple application which returns fastest result of two WebClient
requests using Mono.first()
. The application is failing with LEAK
error:
2019-03-28 10:52:21.203 ERROR 25237 --- [or-http-epoll-4] io.netty.util.ResourceLeakDetector : LEAK: ByteBuf.release() was not called before it's garbage-collected. See http://netty.io/wiki/reference-counted-objects.html for more information.
I prepared POC with full error logs: https://github.com/lradziwonowicz/spring-boot-webflux-webclient-netty-leak Should I create a bug or my approach is not correct?
Californium-SR6
(put this property <reactor-bom.version>Californium-SR6</reactor-bom.version>
in the pom.xml)
bodyToMono(Void.class)