Skip to content

JDTLS spawns separate process per subproject in Gradle monorepos #14191

@ChrisJamesHassell

Description

@ChrisJamesHassell

In Gradle monorepos, JDTLS resolves its root to the nearest build.gradle (subproject level) instead of the workspace root (settings.gradle). This causes a separate JDTLS process (~1-3GB each) per subproject.

Additionally, JDTLS creates temp data directories via fs.mkdtemp that are never cleaned up on shutdown, leaking across sessions.

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)perfIndicates a performance issue or need for optimization

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