Watch garbage collection happening in Java and for how long

Updated -

Modern computer languages include dynamic memory allocation. Java code explicitly allocates new objects, but the freeing of those objects is handled implicitly by the Java Virtual Machine (JVM). The dynamically allocated objects are freed when they are not longer accessible to the program using a technique called Garbage Collection (GC). The GC process can take a significant amount of time t...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.