How do I increase java memory allocated to the gateway?

Document ID : KB000012306
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

You may have to increase the java memory allocated to the gateway. A typical use case would be to upload a huge file using the Request: Configure Message Streaming policy. 

Question:

How do I increase java memory allocated to the gateway?

Answer:

To check for how much memory is being allocated to java for the gateway, use the ps -efa | grep Gateway.jar | grep --color Xmx command.

The following configuration file has the multipication factor for the amount of memory. By default its 1/2

/opt/SecureSpan/Gateway/runtime/etc/profile.d/appliancedefs.sh

 

Change the multiplication factor to a higher number than 1/2. Example 2/3 or 4/5

Additional Information:

Changing java memory may have a negative affect on the machine. Please try this on a test machine before production or contact CA Support.