gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
https://gnuradio.org
GNU General Public License v3.0
414 stars 189 forks source link

pybombs build runs out of resources (memory) on the Raspberry Pi #550

Closed rdjondo closed 4 years ago

rdjondo commented 4 years ago

I am trying to install pybombs on the Raspberry Pi 3. When building I quickly run out of RAM. Then the SWAP memory quickly fills up. This freezes the build then the device.

How can I force the build processes (calls to make command) to force the job option to 1 and not 4 in order to reduce the total amount of memory used ? i.e I want pybombs install to run "make -j1", instead of "make -j4".

I tried the following without success.

ulimit -S -m200000 -v200000

nice -n 19 pybombs -vv install uhd

rdjondo commented 4 years ago

I found a solution already implemented in PyBombs: run the following to change the number of default parallel make jobs : pybombs config makewidth 1