WasmMemoryPolicy
data class WasmMemoryPolicy(val maxBytesPerMemory: Long = 256L * 1024L * 1024L, val maxTotalBytes: Long = 512L * 1024L * 1024L, val maxMemories: Int = 16)
Bounds every WebAssembly memory owned by one instance.
maxTotalBytes is enforced against imported memory maxima plus the effective maxima assigned to defined memories, so growth cannot make the instance exceed the aggregate budget.