-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU usage and memory consumption even if doing nothing #3387
High CPU usage and memory consumption even if doing nothing #3387
Comments
I tried to dump the "redhat.java" process consumed 14GB RAM, and open the dump with visualvm. See screentshots here microsoft/vscode-java-debug#1330 (comment) |
Meet same problem |
This is extremely annoying and happens daily for me. |
Similar problems. on leaving my WSL dormant for the night I find it in the morning with 100% memory usage (24 GiB) and 40+ RedHat java agents running. |
I disabled and reenabled the extension and it used initially high-cpu, but after few minutes it went down. |
Same here, and we are using this extension at work and several of my colleagues are also blocked by this daily. |
I'm still able to reproduce the issue with ".vscode-server/extensions/redhat.java-1.28.1-linux-x64/jre/17.0.10-linux-x86_64" on JDK11 sources:
However I noticed that now the issue occurs when I put my test into the root folder of downloaded JDK sources:
|
The issue still occurs with JDK17 sources. |
I'm still facing the issue with |
Still there with VSCode 1.89.1 and redhat.java-1.31.0-linux-x64 on JDK17 sources. |
Still here without Java extensions. Only writing latex with two vscode window open then the cpu will go to 60%-80%. |
This extension appears to be abandoned. I've deleted it and use Android Studio for working on Java code. |
I can reproduce the issue when setting
The imported projects contain @wkia @maphdze @johnmccutchan @witlingw @archenroot @tonyganchev @zhiqiang-hhhh could you try to set
Please check also <openjdk|jdk11u-dev|your_project_root>/.vscode/settings.json |
Definitely related to null analysis. I basically see the following error on repeat (using just the instructions at #3387 (comment) ). It's not extremely consistent, as there's a few instances where it it didn't enter a loop but there's definitely a problem.
Setting |
You can consistently reproduce it in the following way:
|
originally reported by @wkia at microsoft/vscode-java-debug#1408
The text was updated successfully, but these errors were encountered: