[vscode] Language Support for Java crash frequently #11569
Labels
java
issues related to the java language
🤔 needs more info
issues that require more info from the author
Description
I use the theia platform which already uses the 'Language Support for Java' to realize the feature of LSP. I use single container (K8s Pod) to open a new theia server for every user, however, not only It is very slow, but the edit box also disrupted usually, especially several user online concurrently.
Steps To Reproduce
I am sorry about cannot attach my project because it is owned by my company.
Log
Current Result
The code completion stop work, if I type or do something in the window, the plugin seems reloading and diagnosis my project again, which will spend dozens of second to work again. It seems the plugin of Language Support for Java is incompatible with @jdt.ls(LSP)
there is another error if it helps: 'vscode java connection to server got closed. server will not be restarted'
Expected Result
It works smoothly and effectively, we cannot put the unreliable version online.
Additional Information
The plugin reports out of memory occasionally, my setting of memory is "-Xmx2G -Xms1G"
Another issue is that the plugin throws 'org.eclipse.jface.text.BadLocationException: Offset > length: 66 > 0' error occasionally when I edit my code on window. Moreover, the performance of completion code is very slower than raw version of "jdt.ls + monaco editor" which we were using until now.
the error info:
Environment
The text was updated successfully, but these errors were encountered: