How To Manage Memory In Python