Memory Padding

Memory Padding

Module description

This portion of available memory is set aside as unusable by the pager, affecting how the physical memory limit is computed from the memory limit percentage.

Functions

virtual float GetMemoryPaddingPercent ()=0
 Returns the memory padding percent (as a fraction from 0.0 to 1.0) of available memory. More...
 
virtual void SetMemoryPaddingPercent (float percent)=0
 Sets the memory padding percent (as a fraction from 0.0 to 1.0) of available memory. More...
 

Function Documentation

virtual float GetMemoryPaddingPercent ( )
pure virtual

Returns the memory padding percent (as a fraction from 0.0 to 1.0) of available memory.

virtual void SetMemoryPaddingPercent ( float  percent)
pure virtual

Sets the memory padding percent (as a fraction from 0.0 to 1.0) of available memory.

Setting a higher value may decrease risk of out-of-memory crashes. Setting a lower value may increase performance.