You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes i get this error while i run some Ar.js examples in the ES6 branch (PR AR-js-org/AR.js#116):
ARToolkit.js:1 Uncaught (in promise) RangeError: WebAssembly.Memory(): could not allocate memory at __webpack_modules__../node_modules/@ar-js-org/artoolkit5-js/dist/ARToolkit.js.w (ARToolkit.js:1) at ARToolkit.js:1 at new Promise (<anonymous>) at G (ARToolkit.js:1) at A.<anonymous> (ARToolkit.js:1) at a (ARToolkit.js:1) at Generator._invoke (ARToolkit.js:1) at Generator.next (ARToolkit.js:1) at A (ARToolkit.js:1) at i (ARToolkit.js:1)
I think that is caused because the lib is not compiled with the Allow memory growth option enabled: -s ALLOW_MEMORY_GROWTH=1
I will add this when the Ar.jsES6 branch is merged into dev.
The text was updated successfully, but these errors were encountered:
Sometimes i get this error while i run some Ar.js examples in the
ES6
branch (PR AR-js-org/AR.js#116):ARToolkit.js:1 Uncaught (in promise) RangeError: WebAssembly.Memory(): could not allocate memory at __webpack_modules__../node_modules/@ar-js-org/artoolkit5-js/dist/ARToolkit.js.w (ARToolkit.js:1) at ARToolkit.js:1 at new Promise (<anonymous>) at G (ARToolkit.js:1) at A.<anonymous> (ARToolkit.js:1) at a (ARToolkit.js:1) at Generator._invoke (ARToolkit.js:1) at Generator.next (ARToolkit.js:1) at A (ARToolkit.js:1) at i (ARToolkit.js:1)
I think that is caused because the lib is not compiled with the Allow memory growth option enabled:
-s ALLOW_MEMORY_GROWTH=1
I will add this when the Ar.js
ES6
branch is merged intodev
.The text was updated successfully, but these errors were encountered: