Tests like https://github.com/WebAssembly/spec/blob/master/test/core/memory.wast#L52 check that a memory with a size larger than 4 GiB get rejected by the validation, but the actual spec does not enforce that limit at either the validation of a [module](https://webassembly.github.io/spec/core/valid/modules.html#valid-module), a [memory](https://webassembly.github.io/spec/core/valid/modules.html#valid-mem) or a [memtype](https://webassembly.github.io/spec/core/valid/types.html#valid-memtype).