wchen342 / android-rebuilds

Rebuild SDK and NDK from source.
Mozilla Public License 2.0
17 stars 2 forks source link

Build with <16 GB of RAM #3

Open Maniues opened 1 year ago

Maniues commented 1 year ago

Is there any option to build this project without 16GB of RAM? Maybe use swap or compile some elements separately?

wchen342 commented 11 months ago

I think you just need to add a swapfile or swap partition to your system? On linux that shall be pretty simple using swapon.

Maniues commented 10 months ago

In the build.sh file (android-rebuilds/sdk/build.sh) I found the following information:

Note: you need more than 16GB memory excluding swap, or build will fail.

So, can I use the swap memory or not (e.g., when I have 8GB of RAM)?