Memory issue with meteor up (mup) on Digital Ocean

后端 未结 2 684
野趣味
野趣味 2021-01-07 07:32

I couldn\'t find existing posts related to my issue. On a Digital Ocean Droplet, mup setup went fine, but when I try to deploy, I get the following error. Any ideas? Thanks!

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-07 07:49

    This only worked for me by increasing the swap space to 1gb:

    Make all swap off
    sudo swapoff -a
    
    Resize the swapfile
    sudo dd if=/dev/zero of=/swapfile bs=1M count=1024
    
    Make swapfile usable
    sudo mkswap /swapfile
    
    Make swapon again
    sudo swapon /swapfile
    

提交回复
热议问题