Skip to content

Java EPMD server memory leak #3

@xxlabaza

Description

@xxlabaza

Netty server reports about a memory leak during benchmark testing in an encon-java lib.

How to reproduce:

  1. clone encon-java project:
$> git clone https://github.com/appulse-projects/encon-java.git
  1. go to the root of encon-java project:
$> cd encon-java
  1. 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
  1. during the tests, you will see something like this:

screen shot 2018-09-10 at 20 38 55

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions