Metaplex dockerized 开发服务器随机崩溃

Metaplex dockerized dev server crash randomly

在我的 MacO 上,我使用 metaplex (more setup details are in this older separate ) 开发环境(webpack、react)设置了 docker 容器 - 当我更改代码中的某些内容或什么都不更改时,随机(通常在 1- 2 分钟)出现以下错误:

@oyster/common: 5:05:37 PM - Found 0 errors. Watching for file changes.
web: Killed
web: error Command failed with exit code 137.
web: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run start exited 137 in 'web'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
error Command failed with exit code 137.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

此错误终止 docker 容器和页面停止工作 - 我无法工作。如何解决?

经过一些研究,我终于 found 找到原因 - RAM 内存不足。将 RAM 内存从 2GB 增加到 3GB 后问题消失(我也将交换文件从 1 增加到 2GB)