The garbage collector checks to see if there are any objects in the heap that are no longer being
used by the application. If such objects exist, then clean them.
Note: If no more memory is available for the heap, then the new operator throws an OutOfMemoryException.
Post a Comment