-
Notifications
You must be signed in to change notification settings - Fork 440
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
"Language Support For Java" Extension is slowing down my CPU #1371
Comments
Please define "long" |
It is like taking almost half an hour to load fully and during the duration of the load, It is slowing down my computer. Long meaning: |
What do you mean "slowing down my computer"? High CPU usage? Could you disable all other extensions and only keep "Language Support For Java" Extension, then try again? |
Yes, It is slowing down my computer and i will do as you say. |
It is saying: "100% Starting Java language server" but actually it is not starting. I have a log file to show that. This shows what files are being loaded: javalangext.log In the video mentioned above, I have shown as to what all files are being loaded. |
@nspeedzy thank you for sharing the video. I think I probably understand your issue. it's hanging at copying resource. Your project is a polyglot project, and you just create a Java file in a frontend project. The Java extension will initialize the whole folder as an invisible project, and the java builder tool will take the folders with the same level as the java file to be resources of your java file, and copy them to the output folder. That will take a long time to complete. See #634 (comment) |
I hope you fix this error. Before i close this issue, I have one last question, Is there anything I can do to fix this problem? |
Move the java file to a separate folder, and use vscode to open the new folder directly. besides, in your frontend project, try F1 -> Java: Clean the Java language server workspace to clean the java cache. |
Anyways, Thanks for your support! I will now close this issue. If i have any more clarifications, I will reach out. |
In my case, there was a vscode extension that was conflicting with java extensions and making them very very slow, try to identify this problamatic extension and disable / uninstall it. I identified that problamatic extension by looking at the extensions tab in vscode, then I noticed there was a small text beside one of them, it was : "extension (...) has reported one message, i opened that message and it said that the extension took a huge amount of time to run, so uninstalling it solved the proplem |
I had just installed the "Language support for Java" Extension on vscode but I find out that it takes too long to load whenever I open a
.java
file. It also slows my computer down when other tasks are running.Environment
Steps To Reproduce
Current Result
Extension taking too long to load and also slowing down the whole system
Expected Result
Extension to be fully loaded and ready
The text was updated successfully, but these errors were encountered: