Use 256MB for asmjs.

This commit is contained in:
Branimir Karadžić
2014-03-16 23:20:27 -07:00
parent 7b609ef092
commit 1c1d89814b

View File

@@ -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