redhat-developer / redhat-developer/vscode-java

After vscode exit , the redhat java process still exists, and continue waste CPU and memory

Open
#2,870 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

$ ps aux | grep redhat
nomore            2902 186.8  2.9 37742680 957764   ??  R     8:37AM 1050:18.51 /Users/nomore/.vscode-insiders/extensions/redhat.java-1.14.2023010903-darwin-x64/jre/17.0.5-macosx-x86_64/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:/Users/nomore/.vscode-insiders/extensions/redhat.java-1.14.2023010903-darwin-x64/lombok/lombok-1.18.24.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/nomore/Library/Application Support/Code - Insiders/User/workspaceStorage/b2b9611ae61f2d143bc2a6ea62844278/redhat.java -jar /Users/nomore/.vscode-insiders/extensions/redhat.java-1.14.2023010903-darwin-x64/server/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -configuration /Users/nomore/Library/Application Support/Code - Insiders/User/globalStorage/redhat.java/1.14.2023010903/config_mac -data /Users/nomore/Library/Application Support/Code - Insiders/User/workspaceStorage/b2b9611ae61f2d143bc2a6ea62844278/redhat.java/jdt_ws

$ ps aux | grep redhat
nomore 2902 186.8 2.9 37742680 957764 ?? R 8:37AM 1050:18.51 /Users/nomore/.vscode-insiders/extensions/redhat.java-1.14.2023010903-darwin-x64/jre/17.0.5-macosx-x86_64/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:/Users/nomore/.vscode-insiders/extensions/redhat.java-1.14.2023010903-darwin-x64/lombok/lombok-1.18.24.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/nomore/Library/Application Support/Code - Insiders/User/workspaceStorage/b2b9611ae61f2d143bc2a6ea62844278/redhat.java -jar /Users/nomore/.vscode-insiders/extensions/redhat.java-1.14.2023010903-darwin-x64/server/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -configuration /Users/nomore/Library/Application Support/Code - Insiders/User/globalStorage/redhat.java/1.14.2023010903/config_mac -data /Users/nomore/Library/Application Support/Code - Insiders/User/workspaceStorage/b2b9611ae61f2d143bc2a6ea62844278/redhat.java/jdt_ws

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

Reproduce the report with VS Code Insiders and the Red Hat Java extension, then observe whether the Java language-server process remains after the editor exits. Trace the extension and language-server shutdown path; done means the process terminates on exit without continuing to consume CPU or memory.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.