JLR Interview Question

memory management in python Vs java