Source/NFX/App.cs
/// <summary>
/// Sets the memory utilization model for the whole app.
/// This setting is NOT configurable. It may be set at process entrypoint via a call to
/// App.SetMemoryModel() before the app contrainer spawns.
/// Typical applications should not change the defaults.
/// Some system service providers may examine this property to allocate less cache and temp buffers
/// in the memory-constrained environments
/// </summary>
Sets the memory utilization model for the whole app.
This setting is NOT configurable. It may be set at process entrypoint via a call to
App.SetMemoryModel() before the app contrainer spawns.
Typical applications should not change the defaults.
Some system service providers may examine this property to allocate less cache and temp buffers
in the memory-constrained environments
Sets the memory utilization model for the whole app . This setting is NOT configurable . It may be set at process entrypoint via a call to App . SetMemoryModel () before the app contrainer spawns . Typical applications should not change the defaults . Some system service providers may examine this property to allocate less cache and temp buffers in the memory - constrained environments
public static void SetMemoryModel(MemoryUtilizationModel model)
       {
         if (Available)
           throw new NFXException(StringConsts.APP_SET_MEMORY_MODEL_ERROR);
         s_MemoryModel = model;
       }
public static void SetMemoryModel ( MemoryUtilizationModel model ) { if ( Available ) throw new NFXException ( StringConsts . APP_SET_MEMORY_MODEL_ERROR ) ; s_MemoryModel = model ; }
Sets the memory utilization model for the whole app.
Sets the memory utilization model for the whole app .
model
MemoryUtilizationModel