Database Reference
In-Depth Information
garbage collection can lose about 75 percent of its throughput when scaled out to
multiple processors.
In this section, we will learn the options to tune JVM to run the SOA Suite optimally.
The best way to tune the JVM and eliminate memory-related errors is to adjust JVM
memory parameters. The JVM parameters are usually part of the WebLogic server
start-up scripts. The default install values are not sufficient and may not provide an
optimal runtime performance for an Oracle SOA Suite implementation. You need to
ensure that the default JVM parameters are updated. The recommended heap size
for Oracle SOA Suite is 4 GB. Some of the major JVM parameters for JDK 6 are as
follows:
-Xms4096m \ - Minimum Heap
-Xmx4096m \ - Maximum Heap
-Xss512k \ - Set maximum native stack size for
any thread
-XX:+UseConcMarkSweepGC
-XX:GCTimeRatio=99 \ - The ratio of GC time to
application time
-XX:MaxGCPauseMillis=20 \ - Pause times of 20ms
desired.
-XX:PermSize=512m \ - Permanent Size
-XX:MaxPermSize=512m \
-XX:NewSize=1024m \ - Minor GC (Young
Generation)
-XX:MaxNewSize=1024m \
-XX:SurvivorRatio=6 \
During performance tuning, it is important to ensure that all endpoint applications
are responding properly. When you adjust the minimum and maximum heap para-
meters, please ensure that you adjust the other parameters as well. The PermSize
parameter can be constant but the NewSize and MaxNewSize parameters require
tuning.
It is recommended for better performance that we keep the same values for following
pairs for JVM parameters:
• Minimum heap size ( -Xms ) and maximum heap size ( -Xmx )
Search WWH ::




Custom Search