Mesh
memory
Mesh | memory | |
---|---|---|
6 | 1 | |
1,756 | 1,497 | |
0.5% | - | |
6.3 | 2.9 | |
5 months ago | 4 months ago | |
C++ | C++ | |
Apache License 2.0 | zlib License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mesh
-
Spotting and Avoiding Heap Fragmentation in Rust Apps
I'm not sure if it's widely used, but Mesh is a C/C++ library that can recover from memory fragmentation. The YouTube video in the README is a great watch.
-
Compacting the Uncompactable: The Mesh Compacting Memory Allocator
From 2019. Here it is on Github: https://github.com/plasma-umass/Mesh
-
Bizarre memory leak caused by tokio runtime
With everyone talking about memory fragmentation, I'd like to mention Mesh, an allocator that can compact aka defrag the heap without any help from the program or compiler. Here's the talk explaining it, "Compacting the Uncompactable" by Bobby Powers.
- Reference Count, Don't Garbage Collect
-
How do applications request for RAM from the CPU?
Mesh by Bobby Powers
memory
-
You all need to stop blindly recommending 32 GB of RAM
In general you'll get a lot of interesting information if you search for "cache locality", "data locality", "custom memory allocation" and read stuff that people have written on github (for example https://github.com/foonathan/memory).
What are some alternatives?
jemalloc
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.
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.
memory-allocators - Custom memory allocators in C++ to improve the performance of dynamic memory allocation
snmalloc - Message passing based allocator
rmm - RAPIDS Memory Manager
lfjson - A memory-optimized and data-oriented JSON library written in C++
mlaas - Simply the best way to instill a sense of urgency within your engineering team.
ixy-languages - A high-speed network driver written in C, Rust, C++, Go, C#, Java, OCaml, Haskell, Swift, Javascript, and Python
metamalloc - Malloc as a single-header library which can also be used for local allocations. Linux & Windows. Repo also provides a live per-thread HTTP memory profiler as a separate single-header with no dependencies