Is there any way to change swap size in Sailfish SDK build engine?
Changing the Swap size value via Sailfish IDE or setting it using command line sfdk engine set vm.swap-size=16000 does nothing and swap is still disabled after SDK build engine start.
What is your actual problem that you are trying to solve?
I have built some really big stuff with no issues… But then again i’m using docker. Are you using virtualbox?
Yes, standard SDK for virtualbox. The problem is that I want to compile an app that require 16GB for compilation. I only have 16GB of RAM then the only way is to increase swap size.
Nevertheless, there is a setting that does not work.
cant you just create a swapfile in the virtualbox guest itself?
I rally cannot recommend the docker solution enough.
But besides that; what part is it that is running out om memory? I.e. can you just reduce the number of threads?
Oh boy, maybe I can but I want to just use an option from official SDK from Jolla.
To create swap you need root permissions, so I’m not sure if the sdk really can create swap memory? (unless its running as root)