Skip to content

Java EPMD server memory leak #3

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions