spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
813 stars 541 forks source link

The classloader/component “org.springframework.boot.loader.LaunchedURLClassLoader @ 0x800d8c18” occupies 621,015,112 (74.98%) bytes. The memory is accumulated in one instance of “java.lang.Object[]”, loaded by “<system class loader>”, which occupies 601,708,440 (72.65%) bytes. #815

Open koduruhari5621 opened 1 year ago

koduruhari5621 commented 1 year ago

Question

I am using Spring Boot 2.3.12.RELEASE version of spring boot starter parent and i see that org.springframework.boot.loader.LaunchedURLClassLoader is occupying 75% of allotted Heap as per the MAT Heap memory Analysis. and Spring cloud version is Hoxton. Could you please let us know why this issue is happening

cah-manojmanikrao-sawant commented 7 months ago

Facing Same issue. I am using SpringBoot 2.7.1 We are deploying application in PCF/Tanzu and whenever there are more requests to the application it is consuming memory for long time and impacting further requests. We tried Eclipse Analyzer and found this memory leakage issue. Does anyone have idea on this issue ?