Disable small block allocator

Disable small block allocator


I am running the Intel 7.1 compiler for C++ on SGI Linux, and it is failing with code that I know works under Windows as long as the following function is called in an object allocator:

_set_sbh_threshold(0);//requires malloc - used to set the Windows c++
//libraries small block heap to zero, i.e. it allows the operating system to
//manage its own small block memory.

Does anyone know if there is a similar function for the Intel compiler (under SGI Linux)?



1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.