-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello, thanks a lot for this wrapper 👏
I'm loading it in @observablehq with https://bundle.run/matrix-eig, see https://beta.observablehq.com/@fil/hello-matrix-eig
I noticed that if you request too much memory once (with a large matrix, N=500 in my example), then there is no way to scale back, the page is as good as dead and one must reload to clear the error.
abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ") at Error
at jsStackTrace (https://bundle.run/matrix-eig@1.0.0:117:17947)
(Given the error message I'm not sure there is a way around this.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels