free memory after projection.