ffmpegwasm / ffmpegwasm/ffmpeg.wasm

wasm-ld: error: initial memory too small

Đang mở
#317 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
17.8k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

![image](https://user-images.githubusercontent.com/18612047/151758879-7b8a4f71-eff7-4dfe-8e34-ea46734789c6.png)

When I was customizing the configure file, I reported an "initial memory too small" error during the build process. I tried to make changes to the "INITIAL_MEMORY" and "ALLOW_MEMORY_GROWTH" properties, but it didn't seem to work, the error still exists!

![image](https://user-images.githubusercontent.com/18612047/151758949-19391e81-97ea-4259-90aa-e79067ca9631.png)

So I made a forcible modification to emscripten's settings.js file, and it worked. Here's how
1. Copy the settings.js file and modify the default properties
![image](https://user-images.githubusercontent.com/18612047/151759520-a2989085-a39f-4709-b481-c500ef8818b4.png)

2. Move the modified setting.js file to build.sh
![image](https://user-images.githubusercontent.com/18612047/151759698-d64282ef-6708-4bda-aae6-239f08b28330.png)

Is there a final solution here?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.