Skip to content

Commit

Permalink
fix memory issue with long sql strings
Browse files Browse the repository at this point in the history
fixes #561

thanks @kripken for the fix: #561 (comment)
  • Loading branch information
lovasoa committed Jan 20, 2024
1 parent ea72013 commit 52189d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,16 @@ EMFLAGS_ASM_MEMORY_GROWTH = \

EMFLAGS_WASM = \
-s WASM=1 \
-s ALLOW_MEMORY_GROWTH=1
-s ALLOW_MEMORY_GROWTH=1 \
-s STACK_SIZE=5MB

EMFLAGS_OPTIMIZED= \
-Oz \
-flto \
--closure 1

EMFLAGS_DEBUG = \
-s ASSERTIONS=1 \
-s ASSERTIONS=2 \
-O1

BITCODE_FILES = out/sqlite3.bc out/extension-functions.bc
Expand Down

0 comments on commit 52189d4

Please sign in to comment.