ENH: Trying to free more memory during computation.