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.

Open
#815 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

waiting-for-triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.