mimalloc_rust icon indicating copy to clipboard operation
mimalloc_rust copied to clipboard

A Rust wrapper over Microsoft's MiMalloc memory allocator

Results 38 mimalloc_rust issues
Sort by recently updated
recently updated
newest added

Currently the only way way to [configure](https://microsoft.github.io/mimalloc/environment.html) underlying mimalloc is to use env variables, but it's very useful to set them up programatically. So the idea is to add rust...

For some scenarios, we use `atomic_opt` or `clangrt_builtins` instead of `atomic`. Related issue: https://github.com/sfackler/rust-openssl/pull/2239/files https://gitee.com/openharmony/third_party_llvm-project/issues/I8MAPC

``` #[global_allocator] static GLOBAL: MiMalloc = MiMalloc; fn main() { let mut list = Vec::new(); for _ in 0..300000000 { list.push(DataValue::Double(66.66)); } } #[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)] pub...

Thank you for your work maintaining this! I see that mimalloc 3.1.4 was released last week, and now there is 3.1.5 as well. Are there any plans to move to...

It seems as though memory is not being freed back to the OS (sometimes? always?). I'm not an expert and may be missing some subtleties, but the [latest docs](https://microsoft.github.io/mimalloc/environment.html) suggest...

Hi, thanks for the great work :) It could be helpful to have simple docs for the features — options, defaults, and meaning.

Mimalloc has a special compilation flag to emit tracing events on Windows https://github.com/microsoft/mimalloc?tab=readme-ov-file#etw Please consider adding support for this compilation flag via feature. I am interested in allocation profiling of...

The override is [here](https://github.com/purpleprotocol/mimalloc_rust/blob/59d7ee3ba7aa030b46a7cf721720f63a579b7fdb/libmimalloc-sys/build.rs#L28-L34). The polars project builds an unloadable binary because of this override in mimalloc, see this bug report: https://github.com/rust-lang/rust/issues/140092#issuecomment-2817368209