From e6a09831edbb04d7e2fff1fff11381a40d7847e8 Mon Sep 17 00:00:00 2001 From: Tyler Smalley Date: Mon, 14 Sep 2020 21:38:00 -0700 Subject: [PATCH] Increase memory for type check to 5GB We're quickly approaching the current 4GB limit, this gives us another gigabyte. Signed-off-by: Tyler Smalley --- src/dev/typescript/run_type_check_cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/typescript/run_type_check_cli.ts b/src/dev/typescript/run_type_check_cli.ts index e1fca23274a5a..00968b7259a30 100644 --- a/src/dev/typescript/run_type_check_cli.ts +++ b/src/dev/typescript/run_type_check_cli.ts @@ -98,7 +98,7 @@ export async function runTypeCheckCli() { } execInProjects(log, projects, process.execPath, (project) => [ - '--max-old-space-size=4096', + '--max-old-space-size=5120', require.resolve('typescript/bin/tsc'), ...['--project', project.tsConfigPath], ...tscArgs,