recentpopularlog in

jemalloc

« earlier   
Tick Tock, malloc Needs a Clock - YouTube
talk by the developer of jemalloc - discuss fragmentation
jemalloc  video  excellent  memory  heap  purging  fragmentation 
november 2019 by negril
Understanding linux memory usage reporting - Knowledge Base / Operating System - Aerospike Community Forum
Transparent Huge Pages (THP) is a Linux memory management system that reduces the overhead of Translation Lookaside Buffer (TLB) lookups on machines with large amounts of memory by using larger memory pages. As such, the system will allocate larger pages of memory to JEMAlloc than otherwise requested, to try and reduct overhead of small allocations. Unfortunately, for database systems, such as aerospike, this causes allocations issues in terms of memory which cannot be released. By default, a standard allocation, which JEMAlloc believes it received, is 4KB. The THP though, will assign a 2MB chunk page by default, resulting in a large chunk being occupied and potentially unused, which cannot be freed due to the 4KB page being used. As JEMAlloc performs it’s own reduction in overheads and fragmentation avoidance, this is counter-productive and results in exactly the opposite. As such, it is a good idea to disable it.
memory  heap  jemalloc  THP  transparent-huge-page  config  linux 
november 2019 by negril
GitHub - jeffgriffith/native-jvm-leaks
Not new but still an amazing blog post on how to track down a native memory leak in by using :
java  jemalloc  from twitter_favs
october 2019 by jey
GitHub - jeffgriffith/native-jvm-leaks
Not new but still an amazing blog post on how to track down a native memory leak in by using :
java  jemalloc  from twitter_favs
october 2019 by xnot
What causes Ruby memory bloat? – Joyful Bikeshedding
Another likely suspect is the memory allocator. After all, Nate Berkopec and Heroku remarked that fiddling with the memory allocator (either replacing it altogether with jemalloc, or setting the magical environment variable MALLOC_ARENA_MAX=2) drastically lowers [Ruby] memory usage.
ruby  memory  rails  linux  malloc  bloat  jemalloc  ops 
march 2019 by jm

Copy this bookmark:





to read