Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborted(OOM) error #96

Open
Katzenwerfer opened this issue May 19, 2024 · 1 comment
Open

Aborted(OOM) error #96

Katzenwerfer opened this issue May 19, 2024 · 1 comment

Comments

@Katzenwerfer
Copy link

Katzenwerfer commented May 19, 2024

Trying to load a ~90 MB file and I'm getting this error.
More specifically these 2.

17:13:38.013 file input: [object HTMLInputElement] main.js:126:13
17:13:39.065 Aborted(OOM) cimbar_js.js:1:5472
    abort https://cimbar.org/cimbar_js.js:1
    abortOnCannotGrowMemory https://cimbar.org/cimbar_js.js:1
    _emscripten_resize_heap https://cimbar.org/cimbar_js.js:1
    <anonymous> https://cimbar.org/cimbar_js.wasm:64936
    <anonymous> https://cimbar.org/cimbar_js.wasm:12358
    onload https://cimbar.org/main.js:25
    (Async: EventHandlerNonNull)
    importFile https://cimbar.org/main.js:22
    fileInput https://cimbar.org/main.js:129
    onchange https://cimbar.org/:1
17:13:39.067 Uncaught RuntimeError: Aborted(OOM). Build with -sASSERTIONS for more info. cimbar_js.js:1:5558
    abort https://cimbar.org/cimbar_js.js:1
    abortOnCannotGrowMemory https://cimbar.org/cimbar_js.js:1
    _emscripten_resize_heap https://cimbar.org/cimbar_js.js:1
    onload https://cimbar.org/main.js:25
    importFile https://cimbar.org/main.js:22
    fileInput https://cimbar.org/main.js:129
    onchange https://cimbar.org/:1
@sz3
Copy link
Owner

sz3 commented May 22, 2024

Neat!

cimbar currently can't support files larger than 33MB post-compression (specifically, the number is 33554431 bytes, 2^25-1), so unless your 90MB file compresses very well it's probably too large even if we don't hit the OOM error. But it'd be nice to not run out of memory. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants