mimalloc
mimalloc copied to clipboard
mimalloc is a compact general purpose allocator with excellent performance.
Compilation on illumos (Solaris clone) fails: ``` warning: In file included from c_src/mimalloc/src/prim/prim.c:22, warning: from c_src/mimalloc/src/static.c:37: warning: c_src/mimalloc/src/prim/unix/prim.c: In function 'unix_mmap': warning: c_src/mimalloc/src/prim/unix/prim.c:313:28: error: 'large_os_page_size' undeclared (first use in this...
Dear all, we're just trying to evaluate how to use mimalloc in a DLL project. We tried to use the dynamic override and used `minject.exe` to patch the dll load...
We are using mi_is_in_heap_region to figure out of a pointer is owned by mimalloc or not. In debug this function asserts in some of our scenarios. Is this expected? If...
Hi there, Thanks for the great work in mimalloc! The readme asks for feedback on mimalloc v2.X vs 1.X. We noticed roughly equivalent performance of 1.8.X and 2.0.0 to 2.0.7,...
On Android, AArch64 MTE feature helps to detect the memory errors.MI_SECURE mode should detect if the hardware supports MTE, and put additional code to make use of it.
- M1 arm64 MacOS Ventura 13.1 (22C65) - mimalloc Build type: relwithdebinfo ```c++ std::string path = "/Users/xxxx/Library/Developer/Xcode/DerivedData/xxxxxxxxxx/Build/Intermediates.noindex/xxxxxxxxxxx/arm64/XX_lto.o/0.arm64.lto.o"; std::string path1 = "/Users/xxxx/Library/Developer/Xcode/DerivedData/xxxxxxxxxx/Build/Intermediates.noindex/xxxxxxxxxxx/arm64/XX_lto.o/1.arm64.lto.o"; std::cout
Before upgrading to v2.1.2, my program worked well with v2.0.9. However, after upgrading to v2.1.2, the program crashes when starting up. I also tried v2.1.0 and v2.1.1, they are good....
``` mimalloc: assertion failed: at "/Users/timwhiting/koka/kklib/src/../mimalloc/src/alloc.c":109, mi_heap_malloc_small_zero assertion: "heap->thread_id == 0 || heap->thread_id == tid" ``` The stack isn't overflowing, and I'm not using multiple threads. Originally found on MacOS,...
Hi. I have a little question... I create a heap (`mi_heap_new`) and allocate memory (`mi_heap_malloc`) in child thread. Can i call `mi_heap_destroy` from main thread?
The wasm backend seems to have bitrotted a bit, I couldn't get it to compile in the latest `dev-slice` branch, so I did some preliminary fixes and improvements. Summary of...