| Author | Daan Leijen / Microsoft Research |
|---|---|
| Developer | Microsoft |
| Released | July 2019 (age 7) |
| Latest release date | 15 January 2026, and 3.2.7 release candidate 2 / 15 January 2026 |
| Repo | github.com/microsoft/mimalloc |
| Programming language | C |
| Operating system | Windows, FreeBSD, NetBSD, DragonFly BSD, macOS, Linux |
| Genre | Software library |
| License | MIT License |
| Website | microsoft.github.io/mimalloc |
mimalloc (pronounced "me-malloc") is a free and open-source compact general-purpose memory allocator developed by Microsoft[1] with focus on performance characteristics. The library is about 11000 lines of code and works as a drop-in replacement for malloc of the C standard library[2] and requires no additional code changes.[3] mimalloc was initially developed for the run-time systems of the Lean and Koka languages. Notable design aspects include free list sharding, eager page reset, and first-class heaps. It can co-exist with other memory allocators linked to the same program. mimalloc is available on Windows, Mac OS X, Linux and *BSD.[4] The source code is licensed under MIT License and available on GitHub.[5]
References
- ^ "Maruf Ali: Investigation of Memory Allocators". Archived 2020-07-06 at the Wayback Machine. Retrieved 2020-07-04.
- ^ "Microsoft releases optimized malloc() as open source - Slashdot". slashdot.org. Archived from the original on 2023-06-14. Retrieved 2020-07-04.
- ^ "Analysis of mimalloc". Develop Paper. September 11, 2019. Archived from the original on July 23, 2022. Retrieved July 4, 2020.
- ^ "Google Translate". translate.google.com. 25 June 2019.
- ^ "microsoft/mimalloc". July 5, 2020. Archived July 7, 2020 at the Wayback Machine. Retrieved July 4, 2020. – via GitHub.
Further reading
- Leijen, Daan; Zorn, Benjamin; De Moura, Leonardo (2019). Mimalloc: Free List Sharding in Action. doi:10.1007/978-3-030-34175-6_13. ISBN 978-3-030-34174-9. S2CID 198363081