Increase memory limit for build scripts (#1594)

Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1594

Currently our github actions are failing with OOM, so I've increased heap to 4GB to fix that.

Reviewed By: passy

Differential Revision: D24253742

fbshipit-source-id: d0e87784c334b58a0b4240504814e677f6eeea91
This commit is contained in:
Anton Nikolaev
2020-10-12 12:19:11 -07:00
committed by Facebook GitHub Bot
parent 604b1bf1da
commit 5ecd353416
2 changed files with 2 additions and 2 deletions

View File

@@ -4,4 +4,4 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
env TS_NODE_TRANSPILE_ONLY=true node --require ts-node/register "$@"
env TS_NODE_TRANSPILE_ONLY=true node --max_old_space_size=4096 --require ts-node/register "$@"

View File

@@ -5,4 +5,4 @@
@echo off
set TS_NODE_TRANSPILE_ONLY=true & node --require ts-node/register %*
set TS_NODE_TRANSPILE_ONLY=true & node --max_old_space_size=4096 --require ts-node/register %*