Hi Ron,
Thank you for your excellent suggestion! I was able finish the last
half of the make in 3 hours with no problems :)
In looking at your suggestion to make it permanent, I am concerned
about the comments in fstab:
"""
proc /proc proc defaults 0 0
PARTUUID=e625713b-01 /boot vfat defaults 0 2
PARTUUID=e625713b-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
"""
Do I need to do something else?
Thanks again.
Barry KV4FV
On Sun, 21 Jul 2019 12:53:24 -0700, Ron Economos wrote:
When building GNU Radio on small systems, it's very easy to run out of
memory (especially when building swig files). The remedy is to create
a swap file.
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
To make is permanent, add this line to /etc/fstab
/swapfile none swap sw 0 0
Ron