Update memory limit