Clearing up space in the memory