Open alexspevak opened 1 year ago
2762356976 bytes
you really think we should allocate more than 2gbytes of memory? ;)
There are some changes in C/JS glue code we could do to reduce amount of memory needed, but I definitely wouldn't blindly require more than 2GBs of memory from user :)
After processing new set of 1000 files we found 2 errors which seem to me like wasm memory error. I do not know if I am correct or not, but I have suspicion that this can be fixed in wasm settings by enlarging memory. @scoiatael could have more ideas how to fix this.
error message:
Error: Aborted(Cannot enlarge memory arrays to size 2762356976 bytes (OOM). Either (1) compile with -sINITIAL_MEMORY=X with X higher than the current… at h (file:///var/task/node_modules/@opendesign/image-icc-profile-converter/wasm/lcms/build/lcms.mjs:48:429)
Links to failing tasks: