1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UNVT 安定化のために Raspberry Pi の swap を拡大する

Posted at

Raspberry Pi を用いて UNVT でベクトルタイル生産をしている場合に、タスクが kill される理由の多くはメモリ不足です。swap を拡大しておくと、速度は遅くあれ、kill されなくなります。

swap を拡大する方法について、メモしておきます。以下、swap を 2GB に変更する方法です。なお、私がみた時のデフォルトは 100MB でした。

  • /etc/dphys-swapfileCONF_SWAPFILE=2048 と書き直す。
  • sudo /etc/init.d/dphys-swapfile restart で反映する。
  • swapon -s で、反映を確認する。
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?