How can we call the garbage collector?

How can we call the garbage collector?

  • Garbage collector is automatically invoked when the program is being run. It can be also called by calling gc() method of Runtime class or System class in Java


The Author


Hello! I am Narayanaswamy founder and admin of I have been working in IT industry more than 7 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, Spring, Hibernate, Struts, Webservices, PHP, Oracle, MySQL, SQLServer, Web Hosting and Website Development. I am a self learner and passionate about training and writing. I am always trying my best to share my knowledge through my blog.

Leave a Reply