ProAnswers.org

What is the disadvantage of garbage collection?

It adds an overhead that can affect performance. Additionally there is no guarantee that the object will be garbage collected.