Validate that values larger than 512kB fail with an error.