Skip to content

Commit ed4d34e

Browse files
committed
Fix --initial-memory
1 parent 49fc8fd commit ed4d34e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2359,9 +2359,10 @@ AS_CASE([$ac_sys_system],
23592359
AS_VAR_APPEND([LDFLAGS_NODIST], [" -Wl,--max-memory=10485760"])
23602360
])
23612361
2362-
dnl gh-117645: increase initial memory and stack size, move stack first
2362+
dnl gh-117645: increase initial memory to 20 MiB and stack size to 8 MiB,
2363+
dnl move stack first.
23632364
dnl https://github.com/WebAssembly/wasi-libc/issues/233
2364-
AS_VAR_APPEND([LDFLAGS_NODIST], [" -z stack-size=8388608 -Wl,--stack-first -Wl,--initial-memory=10485760"])
2365+
AS_VAR_APPEND([LDFLAGS_NODIST], [" -z stack-size=8388608 -Wl,--stack-first -Wl,--initial-memory=20971520"])
23652366
]
23662367
)
23672368

0 commit comments

Comments
 (0)