Change the Windows heap size

MVS installs a default heap size, which includes a minimum setting of 64 MB and a maximum setting of 512 MB for services and applications.

About this task

  • A minimum setting of 64 MB and a maximum setting of 512 MB should be sufficient settings for most environments.
  • The heap size should not affect current computer settings or bandwidth, but rather it might improve scalability

Procedure

  1. Open the tlx.xml configuration file located in <MVS.install.dir>\server and edit the following settings:
    "\-Xms64M" -a "\-Xmx512M"
    
    ...
    
    < ServiceArguments>
    - d "C:\Program Files\RocketSoftware\MVS\server\programs\tljs.dll" -path
    " C:\Program Files\RocketSoftware\MVS\server\programs;
    C:\Program Files\RocketSoftware\MVS\server\libs\jre\bin\server;
    C:\Program Files\RocketSoftware\MVS\server\libs\jre\bin\client" -a 
    "\-Djava.class.path=
    C:\Program Files\RocketSoftware\MVS\server\libs\server\startup.jar" -a 
    "\-Xms64M" -a "\-Xmx512M" -a 
    "\-Dsystem.profile.path=
    C:\Program Files\RocketSoftware\MVS\server\config\startup_profile.xml" -a 
    "\-Dconfiguration-manager.master-file=
    C:\Program Files\RocketSoftware\MVS\server\config\configuration_manager.xml" -a 
    "\-Dtigerlogic.home=C:\Program Files\RocketSoftware\MVS\server" - j 
    "\ bootstrap=com/rdta/bootstrap/startup/Startup,main,([Ljava/lang/String;)V" - j 
    "\ licnotify=com/rdta/bootstrap/FacadeActivation,changeActivationStatus,(III)V" 
    </  ServiceArguments>
    
    ...
  2. Save the file.