Memory Settings

The .vmoptions files are used to pass more parameters to a Java process to modify the default settings that are used for the JVM. These files let you customize the memory allocation settings for each of the ldt processes used in the server. The LISA_HOME\bin folder contains .vmoptions files with the same name as each executable file.
dts1024
The .
vmoptions
files are used to pass more parameters to a Java process to modify the default settings that are used for the JVM. These files let you customize the memory allocation settings for each of the
DevTest
processes used in the server. The
LISA_HOME\bin
folder contains
.vmoptions
files with the same name as each executable file.
A full list of JVM parameters is available from the Oracle website under Configuring the Default JVM and Java Arguments.
On Windows operating systems, the default memory limit for
DevTest Workstation
is 512 MB (-Xmx512m).
For a Windows system, it is recommended that
DevTest Server
is on Windows 64-bit to use more memory when needed.
For
Application Insight
, the registry service may require more heap memory to process millions of business transactions. The recommended maximum heap memory setting for the registry is 1 GB per five million transactions.
2
2
Change the Java Heap Size on Windows and UNIX
Follow these steps:
  1. Open the target file with a 
    .vmoptions
    extension. For example:
    # Enter one VM parameter per line
    # For example, to adjust the maximum memory usage to 512 MB, uncomment the following line:
    # -Xmx512m
    # To include another file, uncomment the following line:
    # -include-options [path to other .vmoption file]
  2. To change the maximum memory to be allocated (
    Xmx
    ), uncomment the following line:
    # -Xmx512m
  3. To change the minimum memory to be allocated (
    Xms
    ), add the VM argument on another line.
    -Xms128M 
    The file would then specify the memory allocation range as in the following example.
    -Xms128M 
    -Xmx512M
  4. Save the text file in the
    LISA_HOME\bin
    folder.
Change the Java Heap Size on OS X
Browse to the
LISAWorkstation.app
and edit the
Info.plist
file.
The path is
LisaHome/bin/LISAWorkstation.app/Contents/Info.plist
. You can modify the
Info.plist
file, but your changes apply only to
DevTest Workstation
.
Adjust the Memory for Individual Processes
You can adjust memory for the following programs:
  • ATK
  • Broker
  • BrokerService
  • CoordinatorServer
  • CoordinatorService
  • CVSManager
  • EnterpriseDashboard
  • EnterpriseDashboardCIC
  • EnterpriseDashboardCICService
  • EnterpriseDashboardService
  • MakeMar
  • PFAdapter
  • PFCmdLineTool
  • Portal
  • PortalService
  • Registry
  • RegistryService
  • ServiceImageManager
  • ServiceManager
  • Simulator
  • SimulatorService
  • TestRunner
  • VirtualServiceEnvironment
  • VirtualServiceEnvironmentService
  • VSEManager
  • Workstation
Some of these programs are available in installations of
DevTest Server
, but not 
DevTest Workstation
.
To tweak the memory for each process, you can edit the individual script files. For example, you can allow the registry to have 128M but the simulator to have 1024M.
You can also copy these files and edit the copies. For example, you can copy
Registry
to
MyRegistry
and tweak
MyRegistry
.