baa8ddb6___Compiling___Running_Programs__Description
[Environment Variable] MALLOCMULTIHEAP=[true] MALLOCMULTIHEAP=[{heaps:##],considersize] (default = not set) [Description] 
Malloc multiheap feature: creates a fixed number of heaps. Each memory allocation request is serviced using one of the available heaps. When set to TRUE it enables the configuration of 32 memory heaps. To specify a lower number of heaps, use instead the heaps:## form. Thus, for each thread to allocate (in a round-robin way) and manage its own heap, use MALLOCMULTIHEAP=heaps:n, where n can be the number of threads/cpus desired. Round-robin allocation means that all heaps are used, needed or not. To bypass round-robin usage and instead allocate space from the first available heap, also use the "considersize" suboption. The considersize option may be slower but it helps reduce the working set size and the number of sbrk() calls. When the multiheap feature is not activated, only one thread at a time (i.e., serially) can issue malloc(), free(), or realloc() calls, all affecting a single heap.
TAMU Supercomputing Facility -- Hydra User Guide: Compiling & Running Programs
Description