fix memory limit