Skip to content

Commit

Permalink
Add maxTsServerMemory setting
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Aug 28, 2021
1 parent 56c70d5 commit dcd9f9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions LSP-typescript.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"command": ["${node_bin}", "${server_path}", "--stdio"],
"initializationOptions": {
"logVerbosity": "off",
"maxTsServerMemory": 0,
"plugins": [],
"preferences": {
"allowRenameOfImportPath": true,
Expand Down
4 changes: 4 additions & 0 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down

0 comments on commit dcd9f9c

Please sign in to comment.