How to define the amount of memory available to the Harvest workbench

Document ID : KB000011430
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How to define the amount of memory available to the Harvest Workbench ?

Environment:
Harvest 12.x and 13
Answer:

The following parameters can be added to the %CA_SCM_HOME%\workbench.ini file and are passed to the Java run time and define the amount of memory available to the workbench.

a. -vmargs

   Customizes the Java VM operation to run the Workbench.

b. -Xms 40m

   Specifies the minimum memory that the Workbench can allocate. This command sets minimum memory size for the pile and heap.

   Default: 40 MB.

c. -Xmx 512m

   Specifies the maximum memory that the workbench can allocate. You can set the memory from the Tools, Preferences, and System

   page. This command sets maximum memory size for the pile and heap.

   Default: 512 MB.

Note: Ensure to type the –vmargs, -Xms, and –Xmx arguments on different lines. The config.ini file parses the options and the specified arguments individually.