Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix web shell OOM issue #775

Merged
merged 3 commits into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ endif()
if(EMSCRIPTEN)
add_compile_options(-fexceptions)
add_link_options(-fexceptions)

# Memory configuration
add_compile_options(-sALLOW_MEMORY_GROWTH=1)
add_compile_options(-sMAXIMUM_MEMORY=64MB)
add_link_options(-sALLOW_MEMORY_GROWTH=1)
add_link_options(-sMAXIMUM_MEMORY=64MB)
endif()

# People keep running CMake in the wrong folder, completely nuking their project or creating weird bugs.
Expand Down
8 changes: 4 additions & 4 deletions tools/wasm-shell/extra_files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<meta name="twitter:site" content="@CMUDB">
<meta name="twitter:creator" content="@CMUDB">
<meta name="twitter:domain" content=".">
<meta property="twitter:label1" content="Semester?" />
<meta property="twitter:data1" content="Fall 2022" />
<meta property="twitter:label1" content="Relational?" />
<meta property="twitter:data1" content="Hell Yes" />
<meta property="twitter:label1" content="Semester" />
<meta property="twitter:data1" content="Fall 2024" />
<meta property="twitter:label1" content="SQL Database?" />
<meta property="twitter:data1" content="You Know It!" />
</head>

<body>
Expand Down
Loading