Skip to content

High RAM usage by jdtls (~3GB) in small Spring Boot project #3750

@Texhnolyze47

Description

@Texhnolyze47

I created a small Spring Boot API project, but the Java language server (jdtls) is consuming around 2.8–3 GB of RAM, which seems excessive for such a small project.

The repository for the project is available here:
https://github.com/Texhnolyze47/api-jwt-refresh-token

This causes jdtls to consume a lot of memory on my system.

Environment
OS: Linux (CachyOS)
Editor: Zed
Java version: 26
Language server: jdtls
Steps to reproduce

Clone the repository:
git clone https://github.com/Texhnolyze47/api-jwt-refresh-token

Open the project in Zed editor.
Wait for jdtls to start indexing the project.

Image Image

I'm not sure whether this behavior is related to:

  • Zed's integration with jdtls
  • Spring Boot
  • Indexing many Maven dependencies
  • Java 26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions