memory limit must not be 0