Memory Management

These settings let you optimize application memory usage through Workspace Environment Management (WEM).

If these settings are enabled, WEM calculates how much memory a process is using, and the minimum amount of memory a process needs, without losing stability. WEM considers the difference as excess memory. When the process becomes idle, WEM releases the process’s excess memory to the page file, and optimizes the process for subsequent launches. Usually, an application becomes idle when it is minimized to the task bar.

When applications are restored from the task bar, they initially run in their optimized state but can continue to consume additional memory as needed.

WEM optimizes all applications that a user is using during their desktop session in a similar way. If there are multiple processes over multiple user sessions, all memory that is freed up is available for other processes. This increases user density by supporting a greater number of users on the same server.

Enable Working Set Optimization. Forces applications which have been idle for a configurable time to release excess memory until they are no longer idle.

Idle Sample Time (min). Time for which an application must be idle before it is forced to release excess memory. During this time, WEM calculates how much memory a process is using, and the minimum amount of memory a process needs, without losing stability. The default value is 120 min.

Idle State Limit (percent). The percentage of CPU usage under which a process is considered to be idle. The default value is 1%. We do not recommend using a value above 5%: otherwise a process being actively used can be mistaken for idle, resulting in its memory being released.

Exclude Specified Processes. Lets you exclude processes from memory management by name (for example, notepad.exe).

WEM does not optimize application memory usage for the following system processes:

  • rdpshell
  • wfshell
  • rdpclip
  • wmiprvse
  • dllhost
  • audiodg
  • msdtc
  • mscorsvw
  • spoolsv
  • smss
  • winlogon
  • svchost
  • taskmgr
  • System Idle Process
  • System
  • LSASS
  • wininit
  • msiexec
  • services
  • csrss
  • MsMpEng
  • NisSrv
  • Memory Compression
Memory Management