Question by
copyreading · Jan 18, 2021 at 05:25 PM ·
memory-leak
Could not allocate memory on some devices
The application crashes when i try to load 3d model (screenshot with crash log provided). It only happens on low-end devices, OnePlus 6 works fine, Samsung Galaxy Tab 8 crashes. It appears that there is problem with RAM, so i tried increasing the heap size with PlayerSettings.WebGL.emscriptenArgs = string.Format("-s WASM_MEM_MAX={0} -s ALLOW_MEMORY_GROWTH=1", 256 1024 1024). I have tried 128, 256, 512 Mb, it did not change anything. Can somebody point me in the right direction? My target platform is WebGL
Comment
Your answer
Follow this Question
Related Questions
assetBundle memory can not be free 0 Answers
Memory error pls help 0 Answers
Best practice for cleaning up leaked procedural materials? 0 Answers