Skip to content

Commit 5933792

Browse files
wenhoujxWenshuai Hou
andauthored
use the same vmargs as vscode (#327)
* use the same vmargs as vscode * quotes Co-authored-by: Wenshuai Hou <whou@palantir.com>
1 parent a6d9320 commit 5933792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-java.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Use http://download.eclipse.org/che/che-ls-jdt/snapshots/che-jdt-language-server
9292
:type 'function
9393
:group 'lsp-java)
9494

95-
(defcustom lsp-java-vmargs '("-noverify" "-Xmx1G" "-XX:+UseG1GC" "-XX:+UseStringDeduplication")
95+
(defcustom lsp-java-vmargs '("-XX:+UseParallelGC" "-XX:GCTimeRatio=4" "-XX:AdaptiveSizePolicyWeight=90" "-Dsun.zip.disableMemoryMapping=true" "-Xmx1G" "-Xms100m")
9696
"Specifies extra VM arguments used to launch the Java Language Server.
9797
9898
Eg. use `-noverify -Xmx1G -XX:+UseG1GC

0 commit comments

Comments
 (0)