We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5933792 commit 9685334Copy full SHA for 9685334
README.md
@@ -315,3 +315,11 @@ If you have multiple java JDK versions installed and want to change the version
315
:path "/home/kyoncho/jdk-11.0.1.jdk/"
316
:default t)])
317
```
318
+
319
+* How do I change JVM args passed to JDT server?
320
+LSP slowness could be caused by slow JDT server, especially on large JAVA projects. Bump up the heap size maybe a good idea.
321
322
+```lisp
323
+;; current VSCode defaults
324
+(setq lsp-java-vmargs '("-XX:+UseParallelGC" "-XX:GCTimeRatio=4" "-XX:AdaptiveSizePolicyWeight=90" "-Dsun.zip.disableMemoryMapping=true" "-Xmx2G" "-Xms100m"))
325
+```
0 commit comments