Previous Topic: Create Heap Dumps and Thread DumpsNext Topic: Use the Registry Monitor


Force Garbage Collection

The Server Console lets you force a server component to perform garbage collection.

In addition to performing the garbage collection, this procedure creates a file that contains memory statistics. For example:

Before: Memory used 35mb, allocated 97mb, max 227mb (15%) ; 
After: Memory used 19mb, allocated 95mb, max 227mb (8%)

Typically, you perform this procedure only when requested to do so by customer support.

To force garbage collection:

  1. Go to the Server Console.
  2. Right-click a server component in the network graph and select Force GC.
  3. When prompted, save the statistics file.
  4. Open the statistics file and view the contents.