Free up memory by removing whole dataset once not required.