Skip to content

Commit 52189d4

Browse files
committed
fix memory issue with long sql strings
fixes #561 thanks @kripken for the fix: #561 (comment)
1 parent ea72013 commit 52189d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@ EMFLAGS_ASM_MEMORY_GROWTH = \
4848

4949
EMFLAGS_WASM = \
5050
-s WASM=1 \
51-
-s ALLOW_MEMORY_GROWTH=1
51+
-s ALLOW_MEMORY_GROWTH=1 \
52+
-s STACK_SIZE=5MB
5253

5354
EMFLAGS_OPTIMIZED= \
5455
-Oz \
5556
-flto \
5657
--closure 1
5758

5859
EMFLAGS_DEBUG = \
59-
-s ASSERTIONS=1 \
60+
-s ASSERTIONS=2 \
6061
-O1
6162

6263
BITCODE_FILES = out/sqlite3.bc out/extension-functions.bc

0 commit comments

Comments
 (0)