Memory Management

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

Memory Management

If these settings are enabled, WEM calculates how much RAM a process is using and the minimum amount of RAM a process needs without losing stability. WEM considers the difference as excess RAM. When the process becomes idle, WEM releases the excess RAM that the process consumes 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 more RAM as needed.

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

Enable Working Set Optimization. Forces processes that remain idle for a specified time to release excess memory until they are no longer idle.

Idle Sample Time (min). Lets you specify the length of time that a process is considered idle after which it is forced to release excess memory. During this time, WEM calculates how much RAM a process is using, and the minimum amount of RAM a process needs, without losing stability. The default value is 120 minutes.

Idle State Limit (percent). Lets you specify the percentage of CPU usage below which a process is considered idle. The default is 1%. We recommend that you do not use a value greater than 5%. Otherwise, a process being actively used can be mistaken for an idle process, causing its memory to be released.

Exclude Specified Processes. Lets you exclude a process from memory usage optimization. Specify the process name, for example, notepad.exe.

WEM does not optimize application RAM 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