Make all wasm instances share same linear memory
Previously, each wasm instance (smart contract instance) would allocate 12GB of virtual address space for it self. While not as dire as how table memory use to work, this still will exhaust virtual memory space at an alarmingly low number of contracts. Since in this release execution is single threaded, for now just make every wasm instance share the same 12GB. In the future we can extend this to have a “thread pool of memories”.
Showing
想要评论请 注册 或 登录