Launching onto HTML5 opens the browser to Uncaught Exception: out of Memory
After running it on a 64-bit browser, the following is printed:
uncaught exception: abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 1073741824, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ") at jsStackTrace@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:18540
stackTrace@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:18711
abort@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:58:191097
abortOnCannotGrowMemory@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:20343
enlargeMemory@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:20788
Runtime.dynamicAlloc@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:7422
getMemory@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:13887
processPackageData@blob:http://localhost:8000/5c8cb57b-836c-4e98-988e-e367af14abe2:156:19
runWithFS@blob:http://localhost:8000/5c8cb57b-836c-4e98-988e-e367af14abe2:173:9
callRuntimeCallbacks@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:22329
preRun@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:22890
run@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:58:189415
runCaller@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:58:188229
removeRunDependency@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:27939
applyMemoryInitializer@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:58:187156
xhr_onload@blob:http://localhost:8000/47ccb7e2-0ed3-4b98-ac6a-d287e7e0a253:1:3017
This is a regression from 4.14.2
Result: The browser opens and reads Uncaught Exception: out of Memory
Expected Result: QAGame opens in the selected browser
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40815 in the post.
| 0 |
| Component | UE - Platform - Mobile |
|---|---|
| Affects Versions | 4.15 |
| Target Fix | 4.16 |
| Fix Commit | 3292285 |
|---|---|
| Main Commit | 3383473 |
| Created | Jan 18, 2017 |
|---|---|
| Resolved | Feb 9, 2017 |
| Updated | Apr 27, 2018 |