SAP Professional Journal –
When you set out to optimize the performance of a multi-user application, a natural focus is removing or minimizing application contentions. For Java applications, there is one common source of contention: garbage collection (GC). This article explains in detail how GC affects application execution, and presents a formula you can use to predict the extent to which GC in your system will affect your applications. It also provides recommendations on what you can do if GC is the principle source for performance deterioration in your system, and steps you can take toward memory-conscious programming to help you on your way toward an optimally performing system.