You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When jemallocator::Jemalloc is used as #[global_allocator] and ran with cargo run, the stacksize 128 of "flexi_logger-flusher" thread seems not enough, reporting thread 'flexi_logger-flusher' has overflowed its stack error. When ran with cargo run --release, it does not have this problem.
Here is the code of main.rs :
When jemallocator::Jemalloc is used as #[global_allocator] and ran with
cargo run
, the stacksize 128 of "flexi_logger-flusher" thread seems not enough, reportingthread 'flexi_logger-flusher' has overflowed its stack
error. When ran withcargo run --release
, it does not have this problem.Here is the code of main.rs :
And this Cargo.toml:
This test program is built with
rustc 1.57.0-nightly (5b210643e 2021-10-11)
Improving the stacksize to at least 60*1024 on my machine, the problem can be sovled.
The text was updated successfully, but these errors were encountered: