From 1c1d89814beb1c57ffba0e683fb64bea0a57eb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 16 Mar 2014 23:20:27 -0700 Subject: [PATCH] Use 256MB for asmjs. --- premake/toolchain.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/premake/toolchain.lua b/premake/toolchain.lua index 1616f87..dc761c8 100755 --- a/premake/toolchain.lua +++ b/premake/toolchain.lua @@ -712,7 +712,8 @@ function strip() configuration { "asmjs" } postbuildcommands { "@echo Running asmjs finalize.", - "@$(EMSCRIPTEN)/emcc -O2 \"$(TARGET)\" -o \"$(TARGET)\".html" + "@$(EMSCRIPTEN)/emcc -O2 -s TOTAL_MEMORY=268435456 \"$(TARGET)\" -o \"$(TARGET)\".html" + -- ALLOW_MEMORY_GROWTH } configuration {} -- reset configuration