mimalloc
mimalloc copied to clipboard
mimalloc is a compact general purpose allocator with excellent performance.
We are attempting to swap in Mimalloc for the CRT heap allocator for our Windows driver, unfortunately I cannot get the code app verifier clean despite my experiments with calling...
Hi @daanx, just a general question - why mimalloc doesn't provide overrides for malloc-like function on Windows when built as an object file. Specifically, this code block: ``` #elif defined(_MSC_VER)...
We have recently received two crash reports from our application, both occurring within mimalloc during string encoding conversion operations. The details are as follows: 1. Windows 7 SP1: Crash triggered...
Hello, I enabled the mimalloc ASAN feature and noticed a minor issue: insufficient accuracy. For example, in code like this: ``` char* ptr = (char*)mi_malloc(20); ptr[20] = 1; // Deliberate...
[Testing out mimalloc (v2.2.2) in the Rust compiler ](https://github.com/rust-lang/rust/pull/138764#issuecomment-2742015142) shows some large regressions in physical memory use in some scenarios. I don't observe these regressions in my Rust port and...
Other popular allocators, such as jemalloc have built-in mechanisms for profiling; mimalloc does not. To allow some level of debugging, it would be great if mimalloc added [USDTs](https://www.oreilly.com/library/view/linux-observability-with/9781492050193/ch04.html#:~:text=user%2Dspace%20programs.-,User%20Statically%20Defined%20Tracepoints,tracing%20capabilities%20that%20BPF%20offers.) in important...
While trying to find differences in behaviour for very large allocation requests - larger than my RAM FWIW - I found a range of sizes where instead of getting NULL...
In Linux, we can read `/proc/meminfo` to get the huge page size. Please node that this will get only **one** possible size, but Linux can supports more than one huge...
After analyzing one very convoluted crash (don't ask...), I suspect following is happening: It seems that closed-source mimalloc-redirect.dll briefly removes execution access (sets hardcoded read/write access only) for a memory...