mimalloc icon indicating copy to clipboard operation
mimalloc copied to clipboard

mimalloc is a compact general purpose allocator with excellent performance.

Results 266 mimalloc issues
Sort by recently updated
recently updated
newest added

apparently, even if MI_USE_CXX is OFF, mimalloc still provides mangled definitions of new/delete operators. It causes inability to statically link mimaloc in our scenario, since we want to have our...

an unnecessary call to mi_prim_thread_associate_default_heap is made even if MI_TLS_PTHREAD is not defined. This causes unnecessary problems for applications that use separate linker namespaces as pthread_keys are bugged for those...

@daanx, hi daanx, I see that the last version is released in May, is there any news about the next release? When I use mimalloc with pure 1GB hugepages, it...

Error: ``` mimalloc: warning: thread 0xDAB926C000: mi_free_size: pointer might not point to a valid heap region: 0x020000431230 (this may still be a valid very large allocation (over 64MiB)) mimalloc: error:...

I use `mi_heap_new` to create several heaps in one thread, but I find that they actually share the same `tld`, indicating that they point to the same segments even though...

Hi, I am currently using a Linux system where the only hugepage size available is 2MB. With mimalloc 2.0.9, when I tried to use `mi_reserve_os_memory` to reserve 4GB memory, I...

At https://github.com/microsoft/mimalloc/blob/91215a5512ed4fa916ec26349f69d44235313308/CMakeLists.txt#L392C27-L392C46 the CMake build system add `--no-builtin-malloc` flag. However, this make program runs slower. examples: [https://godbolt.org/z/xsTzj9sTb](https://godbolt.org/z/xsTzj9sTb) [https://godbolt.org/z/MEqoaEnqW](https://godbolt.org/z/MEqoaEnqW) the compiler generates unnecessary calls to malloc, free and memset. However, this...

![Image](https://github.com/user-attachments/assets/dc6d5473-ee4d-43ea-8e05-749257d43b2c) https://github.com/microsoft/mimalloc/pull/959 https://github.com/microsoft/mimalloc/pull/949

While these functions aren't officially part of the POSIX standard (yet), mallinfo() and mallinfo2() are present in most libc malloc implementations. It would be nice if mimalloc had a working...

Scenario: - Segment stores the thread_id it was created in. - The thread is no longer available, but the segment stays still keeping it's number. - After really long time,...