Long time to restore minimized application

Question ID : 198
Created on 2013-02-18 at 8:21 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=198



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



Back to Original Question