TN 1442 WindowViewer Memory Settings
Last updated: March 19th, 2025Description
- Author: Rich Brooks
- Published: March 19th, 2025
Details:
Description
This article from InSource shows how to modify the memory settings for Aveva InTouch HMI 2023.
- Author: Rich Brooks
- Published: 6/7/2024
- Applies to: Aveva InTouch HMI 2023 and higher
Details
InTouch WindowViewer may consume too much memory when running in a session on a terminal server. This often occurs when the windows are composed of overly complex Industrial Graphics. The default memory settings for the WindowViewer are show below.
In-memory caching of Industrial Graphics is available for Managed and Published InTouch applications. These settings help improve the performance at runtime. The windows and popups that have been opened previously are held in memory. They open quicker from memory rather than from disk.
The system tracks the order in which graphics are opened. A memory health check is performed each time time the ShowGraphic function or ShowSymbol animation is called. It will close the oldest graphics when the memory or time limits are exceeded. The windows designated as high priority are closed last.
The default setting may be adjusted if the WindowViewer sessions are consuming too much memory. Reduce both the Memory limits for in-memory graphics and high priority windows. The in-memory graphics limit needs to be less than the high priority windows limit. It is best to define the In-memory graphics expiration time. Setting the value to zero makes the time unlimited. This is not recommended.