Skip to content

Conversation

@gutjuri
Copy link

@gutjuri gutjuri commented Feb 21, 2023

I face a problem that node.js crashes if libsodium is imported (Uncaught RangeError: WebAssembly.Instance(): Out of memory: wasm memory)

In order to be able to run jiff anyway, I changed the code such that libsodium is only imported if it is actually used.

Tested on node.js, not in the browser.

@gutjuri
Copy link
Author

gutjuri commented Mar 2, 2023

I'm linking an issue describing the error sodium gives: jedisct1/libsodium.js#301

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant