eiiches / scriptable-jmx-exporter

A javaagent for scraping and exposing MBeans to Prometheus
MIT License
7 stars 2 forks source link

Scraper#mbeanInfoCache can cause heap OOM #55

Closed eiiches closed 11 months ago

eiiches commented 1 year ago

Scraper#mbeanInfoCache is not properly configured to expire stale cache entries for unregistered MBeans. This can cause heap OOM in some environments where new MBeans are added/removed constantly.