Over time my unused running my Spring Boot v1.3.2 application gradually increases memory consumption until it eventually falls over. By unused I mean no client requested are being served apart from the regular ping of the /health
end point.
According to the Eclipse Memory Analyser, org.springframework.boot.loader.LaunchedURLClassLoader
is taking up a massive 920MB.
It appears as though Spring Boot is continually loading classes
Any ideas what's going on?
EDIT
Looks like it's Spring Cloud Consul that's causing the issue:
Appears to be a memory leak in Spring Cloud Consul. Raised issue https://github.com/spring-cloud/spring-cloud-consul/issues/183
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With