A call to System.gc() notifies the system that the Garbage Collector is required and should be started. There is no guarantee, however, that the GC will start running quickly. It is up to the JVM to start it quickly or later based on the system preferences, memory, and processor status.
Regards, Nitesh Bavishiya
You must be logged in to reply to this thread.Please login or register. Registration is 100% free.
GET FREE CONSULTATION
Call Us Now For Free Consultation97370 05566
Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.