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
npx roadroller -M 1024 -O2 -D -a write -t text input_file.txt -o output_file.js
i get:
file:///D:/Users/user/node_modules/roadroller/wasm.mjs:677
new Uint8Array(memory.buffer, M_INPUT).set(input);
^
RangeError: Start offset -1879046368 is outside the bounds of the buffer
at new Uint8Array (<anonymous>)
at file:///D:/Users/user/node_modules/roadroller/wasm.mjs:677:9
at compressWithDefaultModel (file:///D:/Users/user/node_modules/roadroller/index.mjs:571:45)
at Function.doPack (file:///D:/Users/user/node_modules/roadroller/index.mjs:971:75)
at calculateSize (file:///D:/Users/user/node_modules/roadroller/index.mjs:1363:35)
at updateBest (file:///D:/Users/user/node_modules/roadroller/index.mjs:1386:26)
at updateBestAndReportProgress (file:///D:/Users/user/node_modules/roadroller/index.mjs:1397:56)
at file:///D:/Users/user/node_modules/roadroller/index.mjs:1524:26
at evaluate (file:///D:/Users/user/node_modules/roadroller/index.mjs:1436:31)
at search (file:///D:/Users/user/node_modules/roadroller/index.mjs:1446:51)
if i use lower M or run with -O1 it works file.
The text was updated successfully, but these errors were encountered:
npx roadroller -M 1024 -O2 -D -a write -t text input_file.txt -o output_file.js
i get:
if i use lower M or run with -O1 it works file.
The text was updated successfully, but these errors were encountered: