martint / jmxutils

Exporting JMX mbeans made easy
Apache License 2.0
171 stars 47 forks source link

MBeanExporter: memory leak related to ManagedClasses registry #53

Open malayerba opened 9 months ago

malayerba commented 9 months ago

ManagedClasses that are registered in exportedManagedClasses are never unregistered. This is causing an accumulation of memory.

mehdi-khosravi commented 7 months ago

+1, this ConcurrentHashmap grows gradually and causes high heap usage. Created this PR https://github.com/martint/jmxutils/pull/55

luke-sterkowicz commented 7 months ago

+1