cocos在ios原生端调用WebAssembly.instantiate()提示Out of memory

cocos2.2.2 在ios原生端调用WebAssembly.instantiate()(初始化RAPIER物理引擎)提示Out of memory,尝试调整WASM的内存,使用
new WebAssembly.Memory({
“initial”: xxxx,
“maximum”: xxxxx,
“shared”: true
});
提示could not allocate memory
请问大神们有遇到这个问题吗?

不需要对参数做调整 我直接使用的: 竞速类物理引擎帧同步实现方案 - Creator 3.x - Cocos中文社区