Open canda opened 1 year ago
Is there any way to assign more heap space to the java runtime?
@fwcd this is language server issue, not a vscode plugin issue, could we transfer it? Possibly also a duplicate of https://github.com/fwcd/kotlin-language-server/issues/441 .
You can change the java heap space with environment variables. The most common way is to use the java option -Xmx8g
(which would make it 8GB). This can be done by setting JAVA_OPTS
or similar environment variables variables. See our discussion in the language server repo for more details: https://github.com/fwcd/kotlin-language-server/issues/441
Some things to think about:
Description
I'm not sure how to repro. I'm trying to use this extension in a big private repository. When I start vscode, the cpu (mac intel) goes brrrr, after a while, the kotlin output shows the error detailed bellow. The go to definition does command does not work (cmd+click triggers an infinite blue loading animation at the top of the editor, but nothing else happens).
Extension version
VSCode 1.76.2 fwcd.kotlin v0.2.26
Additional context
kotlin output