This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Workarounds for building S on 8GB RAM environment: | |
1. At the start of the build: | |
[ 99% 138/139] /mnt/ssd/lineage/out/soong/.bootstrap/bin/soong_build /mnt/ssd/lineage/out/soong/build.ninja | |
This used to take around 30mins, after enabling zram now it takes around 30secs (thanks to @kdrag0n for the zram idea) which is on par with what happens in 16GB RAM building environments | |
sudo apt install zram-config for installing zram-config package | |
sudo nano /etc/fstab and add a # in front of the swap disk if you have one and then reboot | |
After booting cat /proc/swaps to check if zram is enabled or not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Workarounds for building R on 8GB RAM environment: | |
1. At the start of the build: | |
[ 99% 138/139] /mnt/ssd/lineage/out/soong/.bootstrap/bin/soong_build /mnt/ssd/lineage/out/soong/build.ninja | |
This used to take around 30mins, after enabling zram now it takes around 30secs (thanks to @kdrag0n for the zram idea) which is on par with what happens in 16GB RAM building environments | |
sudo apt install zram-config for installing zram-config package | |
sudo nano /etc/fstab and add a # in front of the swap disk if you have one and then reboot | |
After booting cat /proc/swaps to check if zram is enabled or not |