• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Garbage collector  RSS feed

 
Ashok kolasani
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can any one provide/suggest indepth information about garbage collection.

--Regards
Ashok Kumar
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have any soecific question regarding GC? If you want detail about getting best performance from it, read this link on tuning garbage collection.
 
Paolo Robertson
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Your question is vague Ashok.

Garbage collection is a way to free up unwanted resources and is being done automatically in Java. If you intend to manually call it, you issue System.gc() - however, take note that the JVM can choose to ignore this command altogether, it merely alerts the JVM that you think it's a good time to do the garbage collection.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!