Adjust memory limit