From 7a1e4252ab5d5d8ee6065f57f1c1bbb8789b5a1a Mon Sep 17 00:00:00 2001 From: Abin Joseph Date: Thu, 9 Apr 2026 11:45:22 +0530 Subject: [PATCH] build/source: add tip to increase system memory Builds may fail due to insufficient system memory and the logs may not provide clear indication to the correct error. As a general note, we should recommend increasing the system memory before running the builds on low end devices. Signed-off-by: Abin Joseph --- topic/k2c-qli-build-ga/build_from_source_github.rst | 6 ++++++ topic/k2c-qli-build-ga/howto_build.rst | 2 ++ 2 files changed, 8 insertions(+) diff --git a/topic/k2c-qli-build-ga/build_from_source_github.rst b/topic/k2c-qli-build-ga/build_from_source_github.rst index 94ac8f8..05c03bf 100644 --- a/topic/k2c-qli-build-ga/build_from_source_github.rst +++ b/topic/k2c-qli-build-ga/build_from_source_github.rst @@ -71,6 +71,12 @@ Create and build a Yocto image: # copy kas lock file to meta-qcom repository cp meta-qcom-releases/lock.yml meta-qcom/ci/lock.yml +.. note:: + + If you have limited resources on your system (RAM less than 64 GB) and are facing issues with the build, + consider increasing the swap space on your machine before running the build. Refer to the section + :ref:`Increase swap space `. + #. Build the software image. You define build targets based on machine and distribution combinations. .. container:: nohighlight diff --git a/topic/k2c-qli-build-ga/howto_build.rst b/topic/k2c-qli-build-ga/howto_build.rst index 457cc4c..3db7e38 100644 --- a/topic/k2c-qli-build-ga/howto_build.rst +++ b/topic/k2c-qli-build-ga/howto_build.rst @@ -111,6 +111,8 @@ The machine configurations have either UFS or EMMC storage enabled by default. U # QCOM_PARTITION_FILES_SUBDIR ?= "partitions/iq-615-evk/emmc" # QCOM_PARTITION_FILES_SUBDIR ?= "partitions/iq-615-evk/ufs" +.. _increase_swap_space: + Increase swap space ^^^^^^^^^^^^^^^^^^^^^^