Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

what is the use of calling garbage collector

843829Mar 15 2006 — edited Apr 11 2006
what is the usage of calling garbage collector explicitly in our application,I know that it will frees the memory,Even though we did'nt call the System.gc(); the Jvm will do this.So what is the purpose of calling System.gc() and when should we go for this.
Thanks in advance
Kanchana
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2006
Added on Mar 15 2006
4 comments
328 views