17.5.6 Java tuning

The following 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. In particular, ensure the following:

The application is not over-utilizing 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.


Next