-
Notifications
You must be signed in to change notification settings - Fork 431
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
Infinite loading after update to 1.25.0 #3411
Comments
Any further information on logs? You can run "F1 -> Java: Open Java Language Server Log File" to get the log. |
@testforstephen I found there are OOM errors not reported in the notification. However, even increasing the heap size to 8g (4 times then 1.24.0 required) can't resolve the OOM error. |
Looks like the index files are broken and cause out-of-memory. Could you try "F1 -> Java: Clean Java Language Server Workspace"? |
@rgrunber We also noticed that the out-of-memory ratio increases in recent version 1.25.0. Any thoughts on this? |
@testforstephen No. Clean Java Language Server Workspace doesn't resolve this issue. While increasing heap size improve the responsive and the increase the chance of success startup, the increment is not acceptable and is not always work. |
same here macos 14.1.1 (23B81) |
Seeing similar issues as well with an average size multi-module Maven project running within WSL CPU is pegged and VSCode goes into a tizzy. The "Java Projects" extension rarely completes and resetting the language server does not help. Additionally, it seems the POM's fail to resolve more frequently as well. Downgrading to 1.24.0 seems to work fine. |
Looking in the attached logs, the OOM errors come much later, but the errors I'm seeing are of the form :
Seems like an issue with JDT Annotation Processing. Update: Fred seems to think it might be unrelated so if there's any examples that don't use annotation processing, then it isn't related. |
@testforstephen - from my side, not a lot that I can share as a reproducer except these details:
Ill try to upgrade again later today and collect more details but I cant afford the downtime at the moment.
|
@pingu8007 @kjq @Wroud Could, you, please, check VS Code 1.27.0 ? |
@snjeza Yes, it works with 4g heap size in 9min (both are twice then 1.24.0 required, language server workspace is cleared). |
My project is https://github.com/dbeaver/dbeaver to work with my project, I need firstly "Import existing maven project" in Eclipse (to generate .project, .classpaths files) then I can work with project in VSCode (vscode don't recognize maven projects as java projects till imported in Eclipse) @snjeza 1.27.0 also works for me |
After update vscode-java to 1.25.0, loading a project is never completed.
Environment
Steps To Reproduce
Current Result
Project is loading infinitely, with full CPU usage.
Sometime the language server is end in
OutOfMemory
error (-Xmx3000m).Partial output from Build Status panel:
Expected Result
Finish loading in few minutes (1.24.0 can finish loading in 5min).
Additional Informations
The text was updated successfully, but these errors were encountered: