274 HA Architectures & Capacity Planning with WebSphere Remote Server V6
9.4.6 Java tuning
This section focuses on tuning Java memory. Enterprise applications written in
Java involve complex object relationships and utilize large numbers of objects.
Although Java automatically manages memory associated with an object’s
life
cycle
, understanding the application’s usage patterns for objects is important.
Ensure the following, in particular:
The application is not over using objects.
The application is not leaking objects, that is, memory.
The Java heap parameters are set to handle the use of objects.
Understanding the effect of garbage collection is necessary to apply these
management techniques.
Garbage collection basics
Garbage collection ...