Look at you guys showing off with your BIG ram and processors, and yet builds are still crashing running out of RAM
What actually are the bare MINIMUM RAM AND PC SPECS required???
Minimum PC requirements are not really that much to build 5.5 in my case.. the trade off is just build time.
My 10+ year old AthonII PC with just 7 gig ram simultanious runs both windows 10 and a VMware virtual machine building 5.5 in the background at the same time
The VMware virtal machine is set up with only 4 gig ram and 2 gig swap and set to use just 2 of my 4 cores. This leaves 2 core and 3 gig for win10 normal use.
99% of the 5.5 build is done with just 4 gig ram and 2 threads in two days build time in the background.
BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"
It is nodejs that is the big ram stress point in the build, this stress point requires me to build nodejs on its own once the virtual machine runs out of memory at this build stage.
It is the ld linker during nodejs build that is it problem here, the ld linker ram usage jumps up to use up to 7 gig in its own thread.
Once my build fails at nodejs, i temporary edit the site.conf and drop the threads down to a single thread and up the ram a little to 5.3 gig and 2 gig swap as this is the extreme minimum required ram for the ld linker at this point in the build.
BB_NUMBER_THREADS = "1"
PARALLEL_MAKE = "-j 1"
At this point i just build nodejs with bitbake on its own.
bitbake nodejs
Then i go back to 2 threads again in site.conf and re-run the build image command once more to finish off the build as normal.
Maybe its nearly time for a new PC?