From 497539ece7eac0fd23e664d9091968ae003266aa Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Thu, 8 Feb 2024 10:23:12 +0100 Subject: [PATCH] chore: increase max allocatable heap memory to 32GB Some customers are running out of heap memory - this PR is doubling the maximum amount allocatable (if the OS has that much). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e188f5d359..e8b980a06d 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ #use bash instead of sh export SHELL=/bin/bash WORKING_DIR = $(CURDIR) -PKG := npx pkg ./ --compress Brotli --options max_old_space_size=16384 +PKG := npx pkg ./ --compress Brotli --options max_old_space_size=32768 PKG_NODE_VERSION := $(shell head -1 .nvmrc | cut -f1 -d '.') BINARY_WRAPPER_DIR = ts-binary-wrapper EXTENSIBLE_CLI_DIR = cliv2