Skip to content

Commit

Permalink
Merge pull request #1545 from tgodzik/update-defaults
Browse files Browse the repository at this point in the history
improvement: Update Metals default JVM parameters
  • Loading branch information
tgodzik authored Oct 22, 2024
2 parents 1443f6a + 46d2666 commit 7351d25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/metals-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,11 @@
"type": "string"
},
"default": [
"-Xmx1G"
"-Xmx2G",
"-XX:+UseZGC",
"-XX:ZUncommitDelay=30",
"-XX:ZCollectionInterval=5",
"-XX:+IgnoreUnrecognizedVMOptions"
],
"markdownDescription": "Optional list of properties to pass along to the Metals server. By default, the environment variable `JAVA_OPTS` and `.jvmopts` file are respected. Each property needs to be a separate item.\n\nExample: `-Dhttps.proxyHost=…`, `-Dhttps.proxyPort=…` or `-Dmetals.statistics=all`"
},
Expand Down

0 comments on commit 7351d25

Please sign in to comment.