Home > DeveloperSection > Interviews > How can you force garbage collection?

Posted on    November-10-2010 12:00 AM

 Java Java 
 1 Answer(s)
  1016  View(s)
Rate this:

Anurag Sharma
Anurag Sharma

Total Post:19

Posted on    November-10-2010 1:00 AM

we can't force GC, but could request it by calling System.gc(). JVM does not guarantee that GC will be started immediately

Don't want to miss updates? Please click the below button!

Follow MindStick