question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot enlarge memory

See original GitHub issue

I’m working with rhino3dm JS in Node with the wasm module. I’m trying to work with a 1gb file but have been getting this error from the wasm.

Cannot enlarge memory, asked to go up to 2830614528 bytes, but the limit is 2147483648 bytes!

Is there a way around this?

Issue Analytics

  • State:open
  • Created 6 months ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fraguadacommented, Mar 29, 2023

I’ll take a look.

1reaction
harrycollincommented, Mar 28, 2023

@fraguada Thank you! I just tested this but the module is still requesting more memory beyond the limit 😕 Which options do you think I have for this? I’d be interested to see a MEMORY64 build of the wasm in the future for these big models.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Cannot enlarge memory arrays" error when document is big.
I'm rendering the pdf reports in browser with PDFViewer. ... It loads for about 5-10 minutes then crashes with the "Cannot enlarge memory...
Read more >
Cannot Enlarge Memory Arrays Browser error
Hello, I created a WebGL app, and ran it in a browser, then i got the error Cannot enlarge memory arrays. Either (1)...
Read more >
Cannot enlarge memory arrays when allocating 1Mbytes ...
"Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with ALLOW_MEMORY_GROWTH ...
Read more >
How can I solve this problem? "Cannot enlarge memory ...
"Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 2146959360, (2) compile with ...
Read more >
"Cannot enlarge memory arrays" error - Episode Forums
Hello! I keep getting this error: Does anyone know how to fix it? :pleading_face:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found