Update memory patch for new Eigen version.