Showing posts with label FREE MEMORY. Show all posts
Showing posts with label FREE MEMORY. Show all posts

Monday, 20 January 2014

Using Garbage Collection in java

GARBAGE COLLECTION:

In java, garbage means unreferenced objects.The java.lang.System.gc() method runs the garbage collector. Calling this suggests that the Java Virtual Machine expend effort toward recycling unused objects in order to make the memory they currently occupy available for quick reuse.