Html5 game executable from server

Hi. I am trying to develope a game on html5.
I tried to upload all unzipped files on a free web space and trying to execute on my pc it works.
Then I tried the same to other pc but it don’t works.
"Uncaught abort(“Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 536870912,…”
Now the question is: are these files executed on the server where this are stored? If yes i can’t explain the error. So the files are downloaded on every pc then executed.
There is a way to execute these files only on server? In this way the memory error should be solved because the server is much more powerfull then a client pc.
Please help me

Hi Mandrake1983,

  • Does this occur with a clean, blank project with no additional content or is it limited to one project?
  • What steps did you take to recreate this on your end?
  • Have you tried in any other engine versions?
  • What browser(s) are you using?
  • What service are you using to host the project?

Hi This occour with my project witch is almost complete. I have not tried with a blank project. I have packaged my project into html5 then I have modified the html file deleting the gz estensions, then uncompressed all zipped files and all uploaded on a free hosting space. When game page’s is downloaded the browser starts to download all game’s files. It takes several minutes because game’s files are up to 400mb. Then the game starts (only on my pc, too heavy for other pc I have to reduce files size but this is another question ). My question is: there’s a way to setting files to be executed directly on the pc server without download any file on client pc? Depends of the hosting provider? Or there is a setting into unreal engine editor?

Does anyone who can help me?

the following comment is unclear:

I have modified the html file deleting
the gz estensions, then uncompressed
all zipped files

did you just remove the gz extension and then try to uncompress them? (and with what… ?)

those files (WITH the gz extension) are compressed with “gzip”. this helps the web server not have to compress them on-the-fly. (think of pre-compressing the files before the files are sent to the browsers) – this will help with download times (web server doesn’t have to spend time compressing them – web server will determine if browsers support it - and will attempt to send the files compressed when they do support it).

anyways, there’s no “executable” run on the web server. only files are transferred from web server to web browser.

that said, it seems you’re asking for a way to run a remote display for demonstration. there are a number of technologies that provides this ability. a simple search on “remote desktop” utilities will do this for you.

Hi, thanks for the answer.
I try to explain better.
The first time I have uploaded all html5 packaged files on the free web space I have got an error becouse the *.gz files was not readable on my browser.
I searched for a way to resolve this issue and I found that it was possible to unpack the gz files, than upload the unpacked files directly on web space.So i followed the instructions and I have modified the html file deleting all gz files references. When I tried again it worked correctly.
But this is a secondary issue that I have to resolve in a second time.
The primary issue is that originally I wanted to make executable my game directly on a game server, becouse the 3D ambient is very heavy and not readable on all client pc. So I thought it was better to upload all game files on a game server and make those files executable directly on web game server which is a powerfull pc and it makes the game executable correctly without any crash on all client pc. The way you suggested me is a remote desktop manager software like Team Viewer or others and I don’t need this.
Thank you again.