sentry-rust icon indicating copy to clipboard operation
sentry-rust copied to clipboard

feat: reduce stack-size of threads

Open thomaseizinger opened this issue 7 months ago • 4 comments
trafficstars

Certain environments like iOS are very resource-constrained. A network extension on iOS is allowed to at most consume 50MB of RAM. By default, a thread in Rust allocates 2MB of RAM for the stack of the new thread. This can be tweaked if one knows that the particular thread doesn't need as much RAM.

thomaseizinger avatar Apr 22 '25 09:04 thomaseizinger