Linear memory growth limits and host-call atomicity
WebAssembly linear memory is defined as a sequence of 64 KiB pages. While the memory.grow instruction is atomic within the module's execution, the specification does not provide transactional guarantees for operations that interact with host-imported functions. When a module attempts to expand memory and reaches the defined maximum—typically the 32-bit limit