Long time to restore minimized application


You may experience a slow response time in a scenario like the following:

  1. The application works well as long as the user is busy with it.
  2. The user lets the application sit idle while they do other things.
  3. When this user clicks on the application to reactivate it, the response to get it upon the screen again is very long.
This is especially true when the application is a GUI app, and the idle time is an hour or more. Once the GUI is activated everything works fine and the response time is normal.

To solve this problem, set the java property "sun.awt.keepWorkingSetOnMinimize=true"
For instance:

   iscclient -J-Dsun.awt.keepWorkingSetOnMinimize=true -hostname 10.234.10.18 MAIN_PROGR

   java -Dsun.awt.keepWorkingSetOnMinimize=true com.iscobol.gui.client.Client -hostname 10.234.10.18 MAIN_PROGR

   iscrun -J-Dsun.awt.keepWorkingSetOnMinimize=true MAIN_PROGR

   java -Dsun.awt.keepWorkingSetOnMinimize=true MAIN_PROGR



Article ID: 198
Created: February 18, 2013
Last Updated: April 15, 2024
Author: Support KB Author

Online URL: https://support.veryant.com/phpkb/article.php?id=198