Failed to run HTML5 demo

The browser stucks when I run the demo.
The demo is pretty complex and it includes a very large map with landscape. I built another simple html5 project but the materials can’t be compiled( failed to compile the material for WEBGL ).

Here is the issue log:
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 ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.”) at

If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

,

How large is your project? Have you tried adjusting the memory settings within Project Settings within the HTML5 platform?

I set the memory to 5024MB( the largest value ), but it gave the same issue.

  • How large is this project?
  • Did you create it with the same guidelines that webGL would need to be able to run it?
  • Did you try both Chrome and ?
  • Do you have reproduction steps that you can provide that will reproduce the error you’re running in to?
  • Are you getting the same errors from regular templates?

Looking forward to hearing back from you, thanks!

1.It’s about 620MB large
2.Yes, I did.
3.Yes, I did.
4.Build a project which is larger than 100 MB, install firefox and chrome. Run the project under the server. It stucks when the browser compiles the shader and material. Then a alert will pop out and tell you “Invalid script, stop it debug or keep running” you can get the error by press keep running.
5.I get the same error in the projects which are bigger than 100MB

,

Could I please have the web address to your project?

Please also review the following sites, as they may have some useful information for you:

  • [AnswerHub - HTML5][1]
  • [GLBasic.com][2]
  • [HTML5 Export - Reddit][3]

Let me know if any of those links are useful to you. Thanks!

HTML5 build fail - Platform & Builds - Epic Developer Community Forums
[2]: GLBasic V12 (was formerly V11 beta)
[3]: Reddit - Dive into anything

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!