About 50 results
Open links in new tab
  1. What is the garbage collector in Java? - Stack Overflow

    Sep 26, 2010 · I am confused about the garbage collector in Java. What does it actually do and when does it comes into action? Please describe some of the properties of the garbage collector in Java.

  2. Java garbage collector - When does it collect? - Stack Overflow

    Oct 17, 2009 · So Java actually has a generational GC for ages. What's new in Java 6 is the Garbage-First garbage collector (G1) that is available in Java 6u14. According to the article claiming the …

  3. garbage collection - Java heap terminology: young, old and permanent ...

    Java uses generational garbage collection. This means that if you have an object foo (which is an instance of some class), the more garbage collection events it survives (if there are still references to …

  4. How does Garbage Collection in Java work? - Stack Overflow

    I was wondering how the garbage collector in Java deals with the following situation. Object A has a reference to Object B and Object B has a reference to Object C. The main program has a referen...

  5. What the frequency of the Garbage Collection in Java?

    Sep 26, 2012 · At the other extreme it is theoretically possible for one garbage collection end and another one to start within few nanoseconds. For example, this could happen if your application is in …

  6. java - Long garbage collection time - Stack Overflow

    Feb 7, 2024 · Long garbage collection time experienced by our client in our java web-app (JAVA 8, Tomcat 9) and eventually the application gets suspended indefinitely. Dynatrace performance …

  7. Why would one manually request garbage collection in Java?

    Feb 23, 2011 · Java automatically calls garbage collector, then why we need manual calls for garbage collection? When should use System.gc()

  8. Java Garbage Collection Monitoring - Stack Overflow

    I have a project in Netbeans that I am profiling (using Java 7). What I am looking for is, upon a garbage collection, how much memory from the Eden space is going into the Survivor spaces, and if t...

  9. java - JVM Garbage Collector suddenly consumes 100% CPU after …

    Feb 8, 2016 · JVM Garbage Collector suddenly consumes 100% CPU after running for several hours Asked 10 years, 1 month ago Modified 10 years, 1 month ago Viewed 20k times

  10. How to force garbage collection in Java? - Stack Overflow

    Sep 26, 2009 · Is it possible to force garbage collection in Java, even if it is tricky to do? I know about System.gc(); and Runtime.gc(); but they only suggest to do GC. How can I force GC?