caiiiycuk / js-dos

The best API for running dos programs in browser

Home Page:https://js-dos.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error Maximum Function Size

mwmdragon2 opened this issue · comments

When running JS-DOS on an ibrave hosting server I get this error, do you have any clue what may be causing this?

This error is from the Chrome Devtools:

CompileError: WebAssembly.compile(): size 2146435072 > maximum function size 7654321 @+332855

6.22

Unfrotunatelly 6.22 is not mantained anymore. It seems that newer browsers has a limit for function body size, and 6.22 is not fit the limits. Please update to 7.x, of 8.x-beta

Unfrotunatelly 6.22 is not mantained anymore. It seems that newer browsers has a limit for function body size, and 6.22 is not fit the limits. Please update to 7.x, of 8.x-beta

Is using 7.x or 8.x Beta as easy as replacing the 6.22 files?

Nope, it have different API you need to create bundles from your games (you can do it with script).

https://js-dos.com/v7/build/docs/jsdos-bundle