Application maintainers may tune application performance and memory use by adjusting the MALLOC_ARENA_MAX environment variable. Recent versions of glibc use multiple memory pools that malloc can allocate memory from. Especially for threaded programs, using multiple memory pools can speed up memory allocation (be reducing locking) and improve overall performance. See this article for details on the