Introduction / Summary:
CA Process Automation configuration files allow for a modification of the Java heap to be specified if needed for performance increases.
A 64bit Java allows for an unlimited heap to be specified, however caution is advised when specifying a heap larger than 12G. This is due to a number of factors in the way that Java uses memory such as permGen space, the native heap and garbage collection.
Under most circumstances, setting the minimum/initial and maximum heap to use 3G or 4G is fine, however in some implementations this is not enough.
The setting that is most often modified for the CA Process Automation Java heap is maintained in the c2osvcw.conf file located in the %PAM_INSTALL%/server/c2o/bin folder.
In the c2osvcw.conf file, the lines are:
# Initial Java Heap Size (in MB)
# Maximum Java Heap Size (in MB)
Where initmemory and maxmemory settings would be set to, for instance, 4096.
If however it is found that these values must be larger than 4G, then 2 new lines must be added to the end of the file.
There are a number of lines for "wrapper.java.additional.xx=" which are specific Java settings. In order to increase the memory allocated to CA Process Automation, 2 new wrapper lines must be added which set the minimum/initial (Xms) and maximum (Xmx) values. If values larger than 4G are used in the initmemory and maxmemory lines shown above, Java will ignore anything above 4G.