diff --git a/full/Makefile b/full/Makefile index 104f7185..604a8474 100644 --- a/full/Makefile +++ b/full/Makefile @@ -64,6 +64,8 @@ ifdef EMSCRIPTEN -sMODULARIZE=1 \ -sEXPORT_ES6=0 \ -sALLOW_MEMORY_GROWTH=1 \ + -sINITIAL_MEMORY=268435456 \ + -sMAXIMUM_MEMORY=1073741824 \ -lpg_query \ -o $@ \ $(SRC_FILES) diff --git a/templates/Makefile.template b/templates/Makefile.template index 65e6f56f..c8d655c7 100644 --- a/templates/Makefile.template +++ b/templates/Makefile.template @@ -69,6 +69,8 @@ ifdef EMSCRIPTEN -sMODULARIZE=1 \ -sEXPORT_ES6=0 \ -sALLOW_MEMORY_GROWTH=1 \ + -sINITIAL_MEMORY=268435456 \ + -sMAXIMUM_MEMORY=1073741824 \ -lpg_query \ -o $@ \ $(SRC_FILES) @@ -91,4 +93,4 @@ clean: clean-cache: -@ rm -rf $(LIBPG_QUERY_DIR) -.PHONY: build build-cache rebuild rebuild-cache clean clean-cache \ No newline at end of file +.PHONY: build build-cache rebuild rebuild-cache clean clean-cache diff --git a/versions/13/Makefile b/versions/13/Makefile index 316b104c..010858ef 100644 --- a/versions/13/Makefile +++ b/versions/13/Makefile @@ -72,6 +72,8 @@ ifdef EMSCRIPTEN -sMODULARIZE=1 \ -sEXPORT_ES6=0 \ -sALLOW_MEMORY_GROWTH=1 \ + -sINITIAL_MEMORY=268435456 \ + -sMAXIMUM_MEMORY=1073741824 \ -lpg_query \ -o $@ \ $(SRC_FILES) @@ -94,4 +96,4 @@ clean: clean-cache: -@ rm -rf $(LIBPG_QUERY_DIR) -.PHONY: build build-cache rebuild rebuild-cache clean clean-cache \ No newline at end of file +.PHONY: build build-cache rebuild rebuild-cache clean clean-cache diff --git a/versions/14/Makefile b/versions/14/Makefile index 1c296d09..4d173ee5 100644 --- a/versions/14/Makefile +++ b/versions/14/Makefile @@ -69,6 +69,8 @@ ifdef EMSCRIPTEN -sMODULARIZE=1 \ -sEXPORT_ES6=0 \ -sALLOW_MEMORY_GROWTH=1 \ + -sINITIAL_MEMORY=268435456 \ + -sMAXIMUM_MEMORY=1073741824 \ -lpg_query \ -o $@ \ $(SRC_FILES) @@ -91,4 +93,4 @@ clean: clean-cache: -@ rm -rf $(LIBPG_QUERY_DIR) -.PHONY: build build-cache rebuild rebuild-cache clean clean-cache \ No newline at end of file +.PHONY: build build-cache rebuild rebuild-cache clean clean-cache diff --git a/versions/15/Makefile b/versions/15/Makefile index c2321c3c..f0a5d6f6 100644 --- a/versions/15/Makefile +++ b/versions/15/Makefile @@ -71,6 +71,8 @@ ifdef EMSCRIPTEN -sMODULARIZE=1 \ -sEXPORT_ES6=0 \ -sALLOW_MEMORY_GROWTH=1 \ + -sINITIAL_MEMORY=268435456 \ + -sMAXIMUM_MEMORY=1073741824 \ -lpg_query \ -o $@ \ $(SRC_FILES) @@ -93,4 +95,4 @@ clean: clean-cache: -@ rm -rf $(LIBPG_QUERY_DIR) -.PHONY: build build-cache rebuild rebuild-cache clean clean-cache \ No newline at end of file +.PHONY: build build-cache rebuild rebuild-cache clean clean-cache diff --git a/versions/16/Makefile b/versions/16/Makefile index 79855213..3d9b077c 100644 --- a/versions/16/Makefile +++ b/versions/16/Makefile @@ -69,6 +69,8 @@ ifdef EMSCRIPTEN -sMODULARIZE=1 \ -sEXPORT_ES6=0 \ -sALLOW_MEMORY_GROWTH=1 \ + -sINITIAL_MEMORY=268435456 \ + -sMAXIMUM_MEMORY=1073741824 \ -lpg_query \ -o $@ \ $(SRC_FILES) @@ -91,4 +93,4 @@ clean: clean-cache: -@ rm -rf $(LIBPG_QUERY_DIR) -.PHONY: build build-cache rebuild rebuild-cache clean clean-cache \ No newline at end of file +.PHONY: build build-cache rebuild rebuild-cache clean clean-cache diff --git a/versions/17/Makefile b/versions/17/Makefile index 4083593a..6bfb3d0b 100644 --- a/versions/17/Makefile +++ b/versions/17/Makefile @@ -69,6 +69,8 @@ ifdef EMSCRIPTEN -sMODULARIZE=1 \ -sEXPORT_ES6=0 \ -sALLOW_MEMORY_GROWTH=1 \ + -sINITIAL_MEMORY=268435456 \ + -sMAXIMUM_MEMORY=1073741824 \ -lpg_query \ -o $@ \ $(SRC_FILES) @@ -91,4 +93,4 @@ clean: clean-cache: -@ rm -rf $(LIBPG_QUERY_DIR) -.PHONY: build build-cache rebuild rebuild-cache clean clean-cache \ No newline at end of file +.PHONY: build build-cache rebuild rebuild-cache clean clean-cache