diff --git a/LSP-typescript.sublime-settings b/LSP-typescript.sublime-settings index bbbfcb4..538f9e2 100644 --- a/LSP-typescript.sublime-settings +++ b/LSP-typescript.sublime-settings @@ -2,6 +2,7 @@ "command": ["${node_bin}", "${server_path}", "--stdio"], "initializationOptions": { "logVerbosity": "off", + "maxTsServerMemory": 0, "plugins": [], "preferences": { "allowRenameOfImportPath": true, diff --git a/sublime-package.json b/sublime-package.json index 425203b..7874394 100644 --- a/sublime-package.json +++ b/sublime-package.json @@ -22,6 +22,10 @@ "enum": ["off", "terse", "normal", "requesttime", "verbose"], "description": "Verbosity of the logging." }, + "maxTsServerMemory": { + "type": "number", + "markdownDescription": "The maximum size of the V8's old memory section in megabytes (for example `4096` means 4GB). The default value is dynamically configured by Node so can differ per system. Increase for very big projects that exceed allowed memory usage." + }, "plugins": { "type": "array", "default": [],