C++ memory-allocator

Open-source C++ projects categorized as memory-allocator

Top 5 C++ memory-allocator Projects

  • Mesh

    A memory allocator that automatically reduces the memory footprint of C/C++ applications.

  • snmalloc

    Message passing based allocator

  • Project mention: Snmalloc: A Message Passing Allocator | news.ycombinator.com | 2023-10-11

    https://github.com/microsoft/snmalloc#snmalloc mentions two biggest motivations as:

    > Allocations on one thread are freed by a different thread

    I can imagine one use-case for this: a task that is scheduled from and executed by a work-stealing thread-pool can allocate memory in one thread but by design there's no guarantee that the memory will be necessarily freed from that exact thread. Would that be a good use-case for snmalloc?

    > Deallocations occur in large batches

    This sounds much like a bump allocator use-case but which can do this exact thing by calling a single munmap(addr, len) and unmap multiple allocations all at once.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • o1heap

    Constant-complexity deterministic memory allocator (heap) for hard real-time high-integrity embedded systems. There is very little activity because the project is finished and does not require further changes.

  • metamalloc

    Single header template based general purpose memory allocation library for Linux & Windows. Repo also provides a live http memory profiler as a separate single-header with no dependencies

  • Project mention: Metamalloc: Single-header template based general purpose memory allocator lib | news.ycombinator.com | 2024-01-16
  • RTSHA

    Real Time Safety Heap Allocator

  • Project mention: Rtsha v1.0 | news.ycombinator.com | 2023-11-19
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ memory-allocator related posts

Index

What are some of the best open-source memory-allocator projects in C++? This list will help you:

Project Stars
1 Mesh 1,705
2 snmalloc 1,488
3 o1heap 215
4 metamalloc 100
5 RTSHA 9

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com