stephendade / Rpanion-server

Web-based configurator for companion computers of MAVLink vehicles
https://www.docs.rpanion.com/software/rpanion-server
GNU General Public License v3.0
146 stars 62 forks source link

Deploy: Increase swap size for Raspberry Pi builds #212

Closed ddd999 closed 8 months ago

ddd999 commented 8 months ago

Raspbian sets the swap size to 100MB by default, which causes the npm install step to hang the system on devices with 500MB of RAM. About 700MB of total memory is needed for the build/install process.

This commit adds a step to build_rpanion.sh to increase the swap size, which enables the installation to complete successfully.

Fixes issue #207

Edit: Sounds like this may also fix #208?

stephendade commented 8 months ago

Thanks! Merging...