Open your /etc/dphys-swapfile and then edit the CONF_SWAPSIZE variable:
Raspbian Stretch: Install OpenCV 3 + Python on your Raspberry PiShell
set size to absolute value, leaving empty (default) then uses computed value
you most likely don't want this, unless you have an special disk situation
CONF_SWAPSIZE=100
CONF_SWAPSIZE=1024
1
2
3
4
set size to absolute value, leaving empty (default) then uses computed value
you most likely don't want this, unless you have an special disk situation
CONF_SWAPSIZE=100
CONF_SWAPSIZE=1024
Notice that I’ve commented out the 100MB line and added a 1024MB line. This is the secret to getting compiling with multiple cores on the Raspbian Stretch.
の部分ですね。
'sudo nano /etc/dphys-swapfile'で編集できます。
エディターのnanoはよく使いますので使い方を調べてマスターしましょう。(基本的に矢印キーで目的の場所に移動し編集。そしてctrl+xで保存です)
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/05 04:34