Often there are memory corruption bugs triggered by garbage collection. Being able to force a garbage collection after each bug would help more quickly narrow that down. NB: Triggering a GC is non-trivial, the sequence: System.gc(); // please garbage collect when you have a mo' Thread.wait (100); // here's a mo'. works relatively well.