Increasing the JVM heap size
The Java heap contains all of the objects (instances of classes) that the JVM is currently, or was recently working with. It is therefore the memory space that the JVM uses for storing and working with data. Increasing the heap size for the JVM allows more objects to exist in the heap space. Getting the heap sized optimally will reduce the chance that full "stop the world" garbage collections will occur, thus increasing the processing time available (what we call JVM throughput).
Getting ready
For this recipe, you will need to have Oracle SOA Suite 11g installed on a server. This requirement is the same whether you're using the Hotspot or the JRockit JVM. Note that you will need to perform the following steps on each machine that runs SOA Suite instances.
How to do it…
Follow these steps:
Navigate to the domain's home directory:
cd %MIDDLEWARE_HOME%/user_projects/domains/soa_doma in/
Replace
soa_domain
with the relevant domain.Within the
bin
folder you will see a...