Throw if memory limit cant be increased