Setting the size of the Permanent Generation heap
Permanent Generation (PermGen) is a special part of the Java heap that contains the class templates for all of the Java classes on your classpath. The size of the Permanent Generation heap can be controlled via the -XX:PermSize
and -XX:MaxPermSize
flags. Note that this is not a feature of the JRockit JVM (which stores its classes in the heap)—as such this recipe does not apply if you have chosen that JVM.
Getting ready
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 JRockit JVM.
How to do it…
Perform the following steps to configure the size of the Permanent Generation heap:
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
...