fix memory limit with cache:clear