Skip to content

Commit

Permalink
Never purge pages in jemalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Jan 4, 2025
1 parent aaea1ac commit 3e4e4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ pub fn rustc_cargo_env(
if builder.config.jemalloc {
cargo.env(
"JEMALLOC_SYS_WITH_MALLOC_CONF",
"dirty_decay_ms:0,muzzy_decay_ms:0,abort_conf:true",
"dirty_decay_ms:-1,muzzy_decay_ms:-1,abort_conf:true",
);
}
}
Expand Down

0 comments on commit 3e4e4c7

Please sign in to comment.