Controlling Java VM memory consumption

You can control the memory consumption of Java™ processes that the Rational® ClearQuest® Web client uses by adjusting the parameters in property files of the various components.
Some practical limitations to setting the values of the –Xms and –Xmx options apply to all memory configuration settings for Rational ClearQuest server and Rational ClearQuest Web application components running on Windows®, the UNIX® system, or Linux®.

Controlling Java VM memory consumption on Windows

To control memory consumption for the Rational ClearQuest Request Manager:

  1. Open the configuration file C:\Program Files\Rational\ClearQuest\cqweb\csm.properties .
  2. Modify the -Xms16m and -Xmx256m specifications:
    CMD_LINE_WIN="_RATL_INSTALL_ROOT_common/Java/JRE/bin/java.exe" -Xrs -Xms16m -Xmx256m -cp config;requestmgr.jar;../;../../cqjni.jar;../lib/logging.jar;../lib/log4j.jar com.rational.clearquest.cqweb.requestmgr.RmInitialization

To control memory consumption for the Rational ClearQuest Registry Server:

  1. Open the configuration file C:\Program Files\Rational\ClearQuest\cqweb\cqregsvr\cqregsvr_service.properties.
  2. Modify the -Xms16m and -Xmx256m specifications:
    #
    
    # JVM Options
    
    #
    
    # Useful Options:
    
    #            -Xms2m            = Initial heap size, change to desired size
    
    #            -Xmx256m          = Maximum heap size, change to desired size
    
    #            -Xrs            = Available in Jdk1.3.1 to avoid JVM termination during logoff
    
    #
    
    wrapper.jvm.options=-Xrs -Xms16m -Xmx256m

Controlling Java VM memory consumption on Linux and the UNIX system

To control memory consumption for the Rational ClearQuest Request Manager:

  1. Open the /opt/rational/clearquest/cqweb/csm.properties configuration file.
  2. Modify the -Xms16m and -Xmx256m specifications in the section shown below:
    CMD_LINE_UNIX="_RATL_INSTALL_ROOT_common/Java/JRE/bin/java.exe" -Xrs -Xms16m -Xmx256m -cp config;requestmgr.jar;../;../../cqjni.jar;../lib/logging.jar;../lib/log4j.jar com.rational.clearquest.cqweb.requestmgr.RmInitialization

    On HP-UX, modify the -Xms64m and -Xmx256m specifications in the CMD_LINE_HPUX property instead.

To control memory consumption for the Rational ClearQuest Registry Server:

  1. Open the configuration file/opt/rational/clearquest/cqweb/cqregsvr/start_cqreg.sh.
  2. Modify the –Xms and –Xmx specifications in this line:
    java –Xms256m –Xmx256m com.rational.clearquest.cqweb.jtl.JTLRegistryServer &


Feedback