diff --git a/packages/core/src/shared/lsp/utils/platform.ts b/packages/core/src/shared/lsp/utils/platform.ts index 39284e8a0ac..2aa4fefa7b0 100644 --- a/packages/core/src/shared/lsp/utils/platform.ts +++ b/packages/core/src/shared/lsp/utils/platform.ts @@ -96,7 +96,7 @@ export function createServerOptions({ }) { return async () => { const bin = executable[0] - const args = [...executable.slice(1), serverModule, ...execArgv] + const args = [...executable.slice(1), '--max-old-space-size=8196', serverModule, ...execArgv] if (isDebugInstance()) { args.unshift('--inspect=6080') }