From 8462bd501ea4699eb4b247af8c2aec78d209277f Mon Sep 17 00:00:00 2001 From: lizzie Date: Tue, 9 Jun 2026 05:50:23 +0000 Subject: [PATCH] 10gb of ram --- src/yuzu_cmd/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yuzu_cmd/CMakeLists.txt b/src/yuzu_cmd/CMakeLists.txt index ef2e22c5a0..cf1604293a 100644 --- a/src/yuzu_cmd/CMakeLists.txt +++ b/src/yuzu_cmd/CMakeLists.txt @@ -77,8 +77,9 @@ if (NOT MSVC) endif() if (PLATFORM_EMSCRIPTEN) + # 10GB is required... yikes! target_link_options(yuzu-cmd PRIVATE - -sINITIAL_MEMORY=33554432 + -sINITIAL_MEMORY=10737418240 -sGLOBAL_BASE=16777216 -sPTHREAD_POOL_SIZE_STRICT=0 -sPTHREAD_POOL_SIZE=navigator.hardwareConcurrency)