redhat-developer / redhat-developer/vscode-java

Repeated out of memory error (Extension: Language Support for Java - Red Hat)

Open
#2,232 20 comments 24 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ls-error/crash
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Extension: Language Support for Java (Red Hat)

OS: Ubuntu Linux


The extension tells me again that it runs out of memory. This is quite strange as I am developing a very small Java Module here and it already has increased the memory limit. It had been increased to 2G and now it has been increased to 4G by some kind of logic trying to compensate.

There seems to be a fundamental flaw in the Language Server, if 4 GByte of memory is required for something little as developing a small Java package.

Bug No. 1: The memory issue (see above).

Bug No. 2: To have to restart the whole VSCode IDE in order to compensate for this.

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 by reproducing the repeated out-of-memory failure on Ubuntu with the Language Support for Java extension in the reported small Java module, comparing the 2 GB and 4 GB limits. Trace the extension or language-server memory behavior and the need to restart VS Code; the issue is done when both reported failures have a verified cause and a documented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.