This library provides access to the SysV mallinfo(3) and mallopt(3) functions as well as (optionally) several glibc-specific malloc_*() functions. Mall.opt, Mall.trim and Mall.xml are the most interesting.
Mall hackers
gem "mall", "~> 1.0.2"