You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: The attached example crash right at the start with an Out of Memory error. Which is logged three times: as info, as warning and as error. I tested in Chrome and FF with the same results. The Chrome memory snapshot shows 32mb of allocated memory, matching the limit defined in the makefile. Different limits did not change the result.
For the attached example i added this to the makefile, and removed the -O3:
EMLDFLAGS+=-s ASSERTIONS=2 -s SAFE_HEAP=1 -s SAFE_HEAP_LOG=1 -O0
With ALLOW_MEMORY_GROW=1 it get in an infinite(?) loop allocating new memory. The tab becomes unresponsive.
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.
Source i want to compile: Head of https://github.com/swipetospin/libbpg
Problem: The attached example crash right at the start with an Out of Memory error. Which is logged three times: as info, as warning and as error. I tested in Chrome and FF with the same results. The Chrome memory snapshot shows 32mb of allocated memory, matching the limit defined in the makefile. Different limits did not change the result.
For the attached example i added this to the makefile, and removed the -O3:
EMLDFLAGS+=-s ASSERTIONS=2 -s SAFE_HEAP=1 -s SAFE_HEAP_LOG=1 -O0
With ALLOW_MEMORY_GROW=1 it get in an infinite(?) loop allocating new memory. The tab becomes unresponsive.
Stacktrace:
FF version: 56.0 (64bit)
Chromium version: Version 61.0.3163.100 (Official Build) Built on Ubuntu , running on Ubuntu 17.04 (64-bit)
Emscripten version:
Zip contains demo html page, demo image and with debug mode compiled js
bpg_example.zip
The text was updated successfully, but these errors were encountered: