matrix-org / olm

An implementation of the Double Ratchet cryptographic ratchet in C++/C
https://gitlab.matrix.org/matrix-org/olm
63 stars 9 forks source link

Allow growing memory for wasm #76

Closed benkuly closed 2 years ago

benkuly commented 2 years ago

Is your feature request related to a problem? Please describe. The memory usage of olm wasm is limited at the moment (https://gitlab.matrix.org/matrix-org/olm/-/blob/master/Makefile#L99). This limit is reached fast, when used with a client, which supports multiple accounts or when having complex unit or integration tests.

Describe the solution you'd like Allow growing memory with -sALLOW_MEMORY_GROWTH

uhoreg commented 2 years ago

Thanks for the suggestion. This is now done in https://gitlab.matrix.org/matrix-org/olm/-/commit/84807125c086f89e7b6954dbc3ccba15f41026db