Seems to break on max ram usage
See original GitHub issueI seem to get issues when the memory on my chromebook reaches max usage during a convert:
Output in console:
Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 2133196800, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0
printErr @ magick.js:32
abort @ magick.js:106
abortOnCannotGrowMemory @ magick.js:106
wasm-function[601]
wasm-function[258]
wasm-function[1162]
wasm-function[792]
wasm-function[277]
wasm-function[1043]
wasm-function[1044]
wasm-function[432]
wasm-function[199]
wasm-function[2068]
(anonymous) @ magick.js:106
invoke_iiiii @ magick.js:106
wasm-function[1511]
wasm-function[2983]
wasm-function[283]
wasm-function[549]
wasm-function[2797]
wasm-function[2791]
wasm-function[1692]
(anonymous) @ magick.js:106
callMain @ magick.js:106
processFiles @ magick.js:69
onmessage @ magick.js:103
magick.js:32 exception thrown: abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 2133196800, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 "). Build with -s ASSERTIONS=1 for more info.
printErr @ magick.js:32
callMain @ magick.js:106
processFiles @ magick.js:69
onmessage @ magick.js:103
The app itself starts using 2GB or more memory when converting in my case 46 png’s that are about 3-4 MB on average
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Fix High RAM Memory Usage Issue on Windows 11/10 [10 ...
10 Fixes for High (RAM) Memory Usage Issue on Windows 11/10 · 1. Close Unnecessary Running Programs/Applications · 2. Disable Startup Programs ·...
Read more >Windows 10 High Memory Usage [Causes and Solutions]
This article explains what high memory usage is and how to check it. It also gives 11 methods to fix Windows 10 high...
Read more >Why Does Your RAM Usage Keep Maxing Out on Mac?
Your RAM usage keeps maxing out on Mac because Mac OS makes the most out of available resources to maximize efficiency and performance....
Read more >High RAM usage while Idle - Microsoft Community
Method 2. Run memory diagnostic tool: Memory diagnostic tool is a RAM test to check if there is any issues with RAM. -...
Read more >How to Fix High Memory Usage in Windows - Make Tech Easier
Therefore, it helps to stop the unnecessary programs and applications that are running. Open the Task Manager and check any extra programs you ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
closing due to run command for each picture fixing it for me. aslo https://github.com/KnicKnic/WASM-ImageMagick/issues/33 is fixed
let me know if you get better results by setting “Run command for each picture” https://knicknic.github.io/imagemagick/#!{“desc”%3A"Site lets you execute magick commands in your browser and share commands via url.“%2C"cmd”%3A"convert * -resize 714x231 -set filename%3Amysize %25t %25[filename%3Amysize]-%25d.jpeg"%2C"autoZip"%3Atrue%2C"magickEachPicture"%3Atrue%2C"showAdvanced"%3Atrue}
Also if you want to tackle the issue https://github.com/KnicKnic/WASM-ImageMagick/issues/33 it may fix things.