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

While searching the definition of `MIMALLOC_DISABLE_REDIRECT`, I realized this part of the project isn't open-sourced and resides just in the form of a binary in `bin/` dir, why is that?...

This change fixes the "implicit declaration of function 'getenv'" warning. Since stdlib.h is completely portable, as it is defined by the C standard, we can safely include it unconditionally.

#### Add namespace to installed export `install(EXPORT mimalloc DESTINATION ${mi_install_cmakedir} NAMESPACE mimalloc::)` #### Add alias targets to provide consistent targets for submodule builds. `add_library(mimalloc::mimalloc-obj ALIAS mimalloc-obj)` `add_library(mimalloc::mimalloc-static ALIAS mimalloc-static)`

The way `mi_is_in_heap_region` is implemented right now (see [this](https://github.com/microsoft/mimalloc/blob/master/src/free.c#L112) code) it is possible to 'miss' certain huge allocations going through `mi_cfree`. So we either need to update the segment detection...

Hi!. We are studying using mimalloc as the malloc for julia. While doing this, we found an error on musl, where if you statically link mimalloc to a shared library,...

Please open source mimalloc-redirect or provide aarch64 prebuilt dll

Apparently mimalloc uses MADV_DONTNEED on unix-like platforms in `prim.c`: ``` #if defined(MADV_DONTNEED) && MI_DEBUG == 0 && MI_SECURE == 0 // decommit: use MADV_DONTNEED as it decreases rss immediately (unlike...

I have questions about function mi_bin() ` else if (wsize > MI_MEDIUM_OBJ_WSIZE_MAX) { bin = MI_BIN_HUGE; }` why it returns MI_BIN_HUGE if wsize > MI_MEDIUM_OBJ_WSIZE_MAX, I think wsize should compares...

Typos are spotted by [typos](https://github.com/crate-ci/typos) program. Just want to reduce my vscode warnings. BTW, I also want to fix some header file errors. For example, in `mimalloc/prim.h`, the code uses...