Functions

Memory Padding

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. More...

Functions

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

Detailed 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.


Function Documentation

virtual float GetMemoryPaddingPercent ( ) [pure virtual, inherited]

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

virtual void SetMemoryPaddingPercent ( float  percent ) [pure virtual, inherited]

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.