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.
Constants and functionality are defined at build time, so changing your malloc implementation may require rebuilding and reinstalling this library.
A malloc implementation supporting mallinfo(3) and/or mallopt(3), the ptmalloc-family of allocators used by glibc is recommended and the only tested implementation.
gem install mall
The source code is available via git:
cgit repository viewer:
All feedback (bug reports, user/development dicussion, patches, pull requests) go to the mailing list: email@example.com