Skip to content

Commit 8ba2e60

Browse files
author
Oleg Sh
committed
Change dynamic memory size.
1 parent 8db64dd commit 8ba2e60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

makefile-emcc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CPPFLAGS += -std=c++17 -Wall -I. -I $(ALGORITHM_DIR) -I $(PUGIXML_DIR) -I $(REPO
2222
LINKFLAGS += -s EXPORTED_FUNCTIONS='_ProcessAlgorithm' -s EXPORTED_RUNTIME_METHODS=ccall,cwrap
2323

2424
ifeq ($(DEBUG),1)
25-
CPPFLAGS += -g -sSTACK_SIZE=1048576
25+
CPPFLAGS += -g -sINITIAL_HEAP=33554432
2626
else
2727
CPPFLAGS += -O3
2828
endif

0 commit comments

Comments
 (0)