Skip to content

classloader leak in run command #9935

@ornicar

Description

@ornicar

kamon.Kamon.counter("foo") causes a classloader leak when using run. This causes OOM after a few runs, depending on the application size, and makes the dev workflow unusable.

Here's a minimal project with instructions to reproduce the issue: https://github.com/ornicar/play-cdi-leak/tree/kamon

My setup:

  • Linux 5.4.2
  • openjdk version "13.0.1" 2019-10-15
  • scala 2.13.1
  • playframework 2.8.0
  • sbt 1.3.5

Same issue on Kamon side: kamon-io/Kamon#629

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions