Tuning to reduce the number of full garbage collections
The objective of garbage collection tuning in an SOA Suite application is to reduce the overhead of garbage collection. This chapter looks at how we do that at a high level.
Getting ready
This recipe discusses the process of tuning garbage collection for an application in the SOA Suite; as such it uses a number of techniques described elsewhere in the book. This recipe assumes that you are using the HotSpot JVM, and if you are using the JRockit JVM, the same principals apply. The starting parameters suggested are based on using a 64 bit JVM. If you are using a 32-bit JVM, you will need to reduce these. This recipe also assumes that you are starting servers using the startWebLogic
and startManagedWebLogic
scripts. If you are using a different mechanism to start servers, such as the node manager, you should make the changes elsewhere.
You will need the file system permissions to edit the WebLogic startup scripts for this recipe.