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

Hi, This is not a mimalloc bug, but is an OS issue that affects mimalloc, so this ticket exists as a note to help anyone who might run into the...

When running the following Dockerfile: ``` FROM alpine:3.19 RUN apk update RUN apk add gcc g++ build-base cmake git wget make nano sed linux-headers perl WORKDIR /opt RUN git clone...

Greetings, I have exact case described in mi_collect documentation: one long-running thread allocates enormous amount (from tens of thousands to hundreds of thousands per second) of small (1Kb-64Kb) blocks which...

Test example (Visual Studio 2022, Windows SDK Version 10) ``` #include "mimalloc-new-delete.h" int main() { } ``` Compiling this file with VS 2019 or VS2022 shows these compiler warnings: 1>mimalloc-master\mimalloc-master\include\mimalloc-new-delete.h(40,68):...

Building `mimalloc` fails in the TLS initialization with a segmentation fault: ``` % lldb ./mimalloc-test-api (lldb) target create "./mimalloc-test-api" Current executable set to '/Users/uwe/Development/mimalloc/build/mimalloc-test-api' (arm64). (lldb) run Process 17703 launched:...

Hey there, While debugging why I was encountering the issue https://github.com/microsoft/mimalloc/issues/838, I realized it was due to linking order. I solved it by using `mimalloc-obj`, as recommended by your example:...

Log is: ul 7 15:32:32 iPhone ReportCrash[17738] : Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000016fcd7fb0 Triggered by Thread: 0 Jul 7 15:32:32 iPhone ReportCrash[17738] : Thread 0 name:...

Hey there, I'm seeing the following warning on AppleClang: ``` src/alloc-aligned.c:162:14: warning: unused variable '_mi_heap_malloc_aligned' [-Wunused-variable] ``` I tried to pass in some `CMAKE_CXX_FLAGS` to fix it myself, but it...

Hi, ### Info I'm using mi-malloc 2.1.2, and starting my app with `LD_PRELOAD=/path/to/libmimalloc.so` with the following environment variables set: ``` MIMALLOC_ARENA_RESERVE: '100' MIMALLOC_EAGER_COMMIT_DELAY: '1' MIMALLOC_PAGE_RESET: '0' MIMALLOC_PURGE_DELAY: '-1' MIMALLOC_RESERVE_HUGE_OS_PAGES: '2'...

malloc would return NULL when no memory available, but mi_malloc will crash in its own implement. The following code could reproduce this issue. Add into test-api.c and build in release...