
Oracle SOA Suite 11g Performance Tuning Cookbook

Setting the Xmx
and Xms
parameters configures the maximum (mx
) and minimum (ms
) sizes of the heap; setting them to the same value fixes the heap to a pre-determined size.
You will need to have Oracle SOA Suite 11g installed for this recipe. This command is the same whether you're using the Hotspot or the JRockit JVM.
To configure your Xmx
and Xms
parameters, perform the following steps:
Navigate to the domain's home directory:
cd %MIDDLEWARE_HOME%/user_projects/domains/soa_domain/
Replace soa_domain
with the relevant domain, as required.
Within the bin
folder, you will see a number of scripts. Depending on your platform, you will need to edit a different file—setSOADomainEnv.cmd
on Windows; setSOADomainEnv.sh
on Linux. Note that it is a good idea to make a backup of these files before editing them.
Open the file and locate the following section:
In DEFAULT_MEM_ARGS
and PORT_MEM_ARGS
, set the value of Xms
and Xmx
parameters to your...