-
Notifications
You must be signed in to change notification settings - Fork 454
Closed
Labels
Description
Language server is taking almost 1GB data, even if I use "-Xmx512m"
const args = [
"-Declipse.application=org.eclipse.jdt.ls.core.id1",
"-Dosgi.bundles.defaultStartLevel=4",
"-Declipse.product=org.eclipse.jdt.ls.core.product",
"-Dlog.level=ALL",
"-noverify",
"-XX:MinHeapFreeRatio=5",
"-XX:MaxHeapFreeRatio=10",
"-XX:GCTimeRatio=4",
"-XX:AdaptiveSizePolicyWeight=90",
"-Dsun.zip.disableMemoryMapping=true",
"-Xmx512m",
"-Xms100m",
"-jar",
`${jdtPath}/jdt-language-server-1.9.0-202203031534/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar`,
"-configuration",
`${jdtPath}/jdt-language-server-1.9.0-202203031534/config_linux`,
"-data",
`${dataPath}`,
"--add-modules=ALL-SYSTEM",
"--add-opens java.base/java.util=ALL-UNNAMED",
"--add-opens java.base/java.lang=ALL-UNNAMED",
];
Reactions are currently unavailable