Open
Description
RuntimeError: Aborted(Cannot enlarge memory arrays to size 37867744 bytes (OOM). Either (1) compile with -sINITIAL_MEMORY=X with X higher than the current value 16908288, (2) compile with -sALLOW_MEMORY_GROWTH which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -sABORTING_MALLOC=0)
at abort (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:563:11)
at abortOnCannotGrowMemory (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:1122:7)
at _emscripten_resize_heap (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:1128:7)
at test_wrap_malloc.wasm.sbrk (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[261]:0xc799)
at test_wrap_malloc.wasm.claim_more_memory (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[233]:0xb85b)
at test_wrap_malloc.wasm.emmalloc_memalign (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[234]:0xbcc1)
at test_wrap_malloc.wasm._mi_prim_alloc (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[240]:0xc0cb)
at test_wrap_malloc.wasm._mi_os_alloc_aligned (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[197]:0x93f7)
at test_wrap_malloc.wasm.mi_reserve_os_memory_ex (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[103]:0x4e33)
at test_wrap_malloc.wasm._mi_arena_alloc_aligned (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[101]:0x4c48)
at test_wrap_malloc.wasm.mi_segment_alloc (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[283]:0xe1be)
at test_wrap_malloc.wasm.mi_segments_page_alloc (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[282]:0xe038)
at test_wrap_malloc.wasm._mi_segment_page_alloc (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[280]:0xda55)
at test_wrap_malloc.wasm.mi_page_fresh_alloc (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[230]:0xb66f)
at test_wrap_malloc.wasm.mi_find_page (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[227]:0xb4ed)
at test_wrap_malloc.wasm._mi_malloc_generic (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[226]:0xaf01)
at test_wrap_malloc.wasm.mi_malloc (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[66]:0x3610)
at test_wrap_malloc.wasm.malloc (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[14]:0x71e)
at test_wrap_malloc.wasm.__original_main (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[17]:0xa22)
at test_wrap_malloc.wasm.main (wasm://wasm/test_wrap_malloc.wasm-00258b5e:wasm-function[18]:0xc29)
at /tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:615:12
at callMain (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:1640:15)
at doRun (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:1690:23)
at run (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:1703:5)
at runCaller (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:1625:19)
at removeRunDependency (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:533:7)
at receiveInstance (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:739:5)
at receiveInstantiationResult (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:757:5)
Thrown at:
at abort (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:563:11)
at abortOnCannotGrowMemory (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:1122:7)
at _emscripten_resize_heap (/tmp/emtest_nffk6s6d/emscripten_test_core0_8ivvzj_9/test_wrap_malloc.js:1128:7)
at $sbrk (wasm://wasm/test_wrap_malloc.wasm-00258b5e:1:51098)
at $claim_more_memory (wasm://wasm/test_wrap_malloc.wasm-00258b5e:1:47196)
at $emmalloc_memalign (wasm://wasm/test_wrap_malloc.wasm-00258b5e:1:48322)
at $_mi_prim_alloc (wasm://wasm/test_wrap_malloc.wasm-00258b5e:1:49356)
at $_mi_os_alloc_aligned (wasm://wasm/test_wrap_malloc.wasm-00258b5e:1:37880)
at $mi_reserve_os_memory_ex (wasm://wasm/test_wrap_malloc.wasm-00258b5e:1:20020)
at $_mi_arena_alloc_aligned (wasm://wasm/test_wrap_malloc.wasm-00258b5e:1:19529)
Metadata
Metadata
Assignees
Labels
No labels