Python Garbage Collection Vs Java