Java garbage collection

One of the benefits of Java is that it handles all memory management for you, avoiding most of the pitfalls of memory leaks and faulty use of pointers. However, this means that the Java VM has to clean up the memory from time to time, using a process called garbage collection, so that it can continue allocating new objects as required.

Within the Java VM, the garbage collector marks and then sweeps up objects that are no longer referred to, and compacts the objects into the largest chunks possible to coalesce free memory. Although there is a system overhead involved in garbage collection, it does not affect playing or recording voice or user input, because the base Blueworx Voice Response system handles all the real-time operations.