Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Set MALLOC_ARENA_MAX for test processes to reduce memory overhead
The glibc default number of memory pools on 64bit systems is 8 times the number of CPU cores. Choosing a value MALLOC_ARENA_MAX is generally a tradeoff between performance and memory consumption. Not setting MALLOC_ARENA_MAX gives the best performance, but may mean higher memory use. Setting MALLOC_ARENA_MAX to “2” or “1” makes glibc use fewer memory pools and potentially less memory, but this may reduce performance. #KTI-1609
- Loading branch information