spring-cloud / spring-cloud/spring-cloud-consul
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.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 822
- Forks
- 539
- Avg merge
- 9h 31m
- Merged PRs (30d)
- 7
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MAT heap memory analysis described in the report and verify the retention attributed to org.springframework.boot.loader.LaunchedURLClassLoader and java.lang.Object[]. Review the Spring Boot 2.3.12.RELEASE and Spring Cloud Hoxton context, then establish a reproducible cause and document what explains the reported heap usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend, performance
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100