From 41c0c0318af6be534ce33ec2a7ae04f06b1a0139 Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Thu, 8 Feb 2024 13:01:09 +0100 Subject: [PATCH] fix: increase max allocatable heap memory to 32GB (#5043) 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