|
GC eliminates an entire class of memory leaks. All you are left with are situation where you have a hard reference to an object that isn't needed. In C and C++ the pointer to the object/data can get lost. and then there is no way to free that memory. Java de-allocation is significantly less complicated. |