#include <cafe/mem.h> BOOL MEMUseMarginOfAlignmentForExpHeap( MEMHeapHandle heap, BOOL reuse );
|heap||Expanded heap handle.|
Returns the settings before the function was executed.
Sets whether to reuse, as valid memory, the small memory fragments produced when memory was allocated after setting alignment with the
If this setting is set to valid (
TRUE) and a large amount of memory fragments are registered, performance may decrease drastically.
Use of this function is recommended only when not allocating a large number of relatively small partitioned heaps or aligned memory spaces.
By default this is set to
|Callbacks||Do not call this function from any callback function.|
2013-05-08 Automated cleanup pass.
2010-11-01 Initial version.