Default STACK_SIZE and Stack overflow error
We have the model attached in this issue. This model executes successfully when using the HighS binaries directly, but fails when doing so through highs-js. We compiled HighS adding the sAssertions option and running the model, and with that we got a stack overflow error.
`HiGHS error RuntimeError: Aborted(stack overflow (Attempt to set SP to 0xFFFFFF70, with stack limits [0x00000000 - 0x00010000). If you require more stack space build with -sSTACK_SIZE=<bytes>)`
It seems the default STACK_SIZE used by emscripten is only 64 kb. Would it be possible to increase the default STACK_SIZE used when compiling HighS.
[model2.txt](https://github.com/user-attachments/files/18197807/model2.txt)
1 条评论