SaaSHub helps you find the best software and product alternatives Learn more →
Top 8 memory-allocator Open-Source Projects
-
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.
-
hardened_malloc
Hardened allocator designed for modern systems. It has integration into Android's Bionic libc and can be used externally with musl and glibc as a dynamic library for use on other Linux-based platforms. It will gain more portability / integration over time.
-
isoalloc
A general purpose memory allocator that implements an isolation security strategy to mitigate memory safety issues while maintaining good performance
-
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
-
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.
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.
Project mention: WhatsApp forces Pegasus spyware maker to share its secret code | news.ycombinator.com | 2024-03-02
If you need a sub-allocator with predictable performance feel free to give it a try. The code is here and it is licensed under the 0BSD license, making it as lax and as close to public domain as possible. Comments, issues and PRs are always welcomed and appreciated. Thanks!
Project mention: Metamalloc: Single-header template based general purpose memory allocator lib | news.ycombinator.com | 2024-01-16
memory-allocator related posts
- EncroChat
- Popular XMPP App "Conversations" Removed from PlayStore by Google
- Metamalloc: Single-header template based general purpose memory allocator lib
- No new iPhone? No secure iOS: Looking at an unfixed iOS vulnerability
- Recommendations for an Android repair shop?
- Iphone Vs Android
- Suche Handy empfehlung bis 250€ max.
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
What are some of the best open-source memory-allocator projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Mesh | 1,702 |
2 | snmalloc | 1,488 |
3 | hardened_malloc | 1,152 |
4 | isoalloc | 351 |
5 | o1heap | 215 |
6 | buddy_alloc | 117 |
7 | metamalloc | 100 |
8 | RTSHA | 9 |
Sponsored