Open
Description
Netty server reports about a memory leak during benchmark testing in an encon-java
lib.
How to reproduce:
- clone
encon-java
project:
$> git clone https://github.com/appulse-projects/encon-java.git
- go to the root of
encon-java
project:
$> cd encon-java
- run JMH benchmark tests like this:
$> mvn clean package \
-DskipTests \
-Dgpg.skip \
-Dfindbugs.skip=true \
-Dpmd.skip=true \
-Dcheckstyle.skip \
-Dmaven.test.skip=true \
-pl benchmark -am; && \
java -Xms1G -Xmx2G -jar benchmark/target/benchmarks.jar
- during the tests, you will see something like this:
Possible sollution:
You need to investigate the Netty's report properly and maybe rewrite the EPMD server's handler(s).
You can take a look at Encon's implementation for handling clients requests