justadudewhohacks / justadudewhohacks/opencv4nodejs

Install on Raspberry, modify swapfile

Open
#749 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

Hello,
Not a bug, but install script was crashing my RasPi 3.
I have found on an other projet a solution which solved my problem.
Perharps can you append this step to installation process ?

// edit swap file onfiguration, ... default value = 100 (MB), modify to 2048 (MB)
$ nano /etc/dphys-swapfile
CONF_SWAPSIZE=2048
// save
// relaunch swap (need time to build 2048 MB swap file.
$ /etc/init.d/dphys-swapfile stop
$ /etc/init.d/dphys-swapfile start

// then launch install
$ npm install --save opencv4nodejs

Best regards.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.