HTML5 build error OOM (SOLVED)

#1

Hello, I have error in browser console when trying to launch on html5 platform,
can anyone help me please?

0 Likes

#2

OOM = Out Of Memory.

One thing to try is to increase the Heap Size: https://defold.com/manuals/project-settings/#heap-size

Is the game running without problems on other platforms? Do you have a lot of large textures? Big extensions? Lot’s of sounds? Perhaps generate a build report and share that?

1 Like

#3

I have tried to increase heap size to 1024, didn’t work out.
After I noticed that sounds in game are weight to much( 210 mb).
I have compressed them, and now everything is working.

0 Likes

#4

Wow, yes, that is a lot!

0 Likes