Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Raise initial memory from 1 GB to 2 GB
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromewu committed Nov 11, 2020
1 parent 2cd7b16 commit 19f90cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm/build-scripts/build-ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ FLAGS=(
-s EXPORT_NAME="createFFmpegCore" # assign export name for browser
-s EXPORTED_FUNCTIONS="[_main, _proxy_main]" # export main and proxy_main funcs
-s EXTRA_EXPORTED_RUNTIME_METHODS="[FS, cwrap, ccall, setValue, writeAsciiToMemory]" # export preamble funcs
-s INITIAL_MEMORY=1073741824 # 1073741824 bytes = 1 GB
-s INITIAL_MEMORY=2146435072 # 64 KB * 1024 * 16 * 2047 = 2146435072 bytes ~= 2 GB
$OPTIM_FLAGS
)
echo "FFMPEG_EM_FLAGS=${FLAGS[@]}"
Expand Down

0 comments on commit 19f90cf

Please sign in to comment.