From dd7264753c183af1bf28d015893b5b7843d6aa51 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Thu, 29 Oct 2020 00:13:50 +0000 Subject: [PATCH] Allow up to 4GB memory in JPEG-XL --- codecs/jxl/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/codecs/jxl/Makefile b/codecs/jxl/Makefile index a4636540..6fca4814 100644 --- a/codecs/jxl/Makefile +++ b/codecs/jxl/Makefile @@ -22,6 +22,7 @@ all: $(OUT_JS) --bind \ --closure 1 \ -s ALLOW_MEMORY_GROWTH=1 \ + -s MAXIMUM_MEMORY=4GB \ -s MODULARIZE=1 \ -s 'EXPORT_NAME="$(basename $(@F))"' \ -o $@ \