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 low response time on a scenario like the following: The application works quite well as long as the user is busy with it, but when the user stops to interact with it (specially with the GUI), leaving the application on its own for a while (1 hour more or less), when he clicks on it to reactivate it, the time for getting the GUI response again is quite long (up to 30 seconds or more). Once the GUI is activated everything works fine and the response time is normal.

To solve this problem you have to use the java property sun.awt.keepWorkingSetOnMinimize=true like in the following sample commands:

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