From 03b977bd51d69091e1d38aa54ea4962753ecd492 Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Tue, 9 May 2023 18:36:27 +0200 Subject: [PATCH] Increase memory allocated to node (#27341) --- .vscode/tasks.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 7a872b87d91..4f7e4baaf0f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -14,10 +14,16 @@ "label": "Preview", "type": "shell", "command": "bundle exec rake preview", + "options": { + "env": { + "NODE_OPTIONS": "--max-old-space-size=8192", + }, + }, "group": { "kind": "test", "isDefault": true, } + } ] } \ No newline at end of file