Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-8464

add memsaver.eclass

Details

    • Improvement
    • Status: Ready to Fix
    • Normal
    • Resolution: Unresolved
    • None

    Description

      Previous summary: dev-qt/qtwebengine can fail to build with 16GB RAM or less and >=12 "cores" (counting threads)

      As per description, there are some common hardware configurations that will cause the OOM killer to do its thing when building dev-qt/qtwebengine. I experienced this when testing 5.15.2-r1 on one of my laptops.

      This is caused by MAKEOPTS being set automatically by Portage based on the number of cores, but there not being sufficient RAM.

      I have a workaround for this in several ebuilds such as webkit, which will set MAKEOPTS based on the number of real cores, not virtual cores, since this can half memory consumption with a minor performance impact, and also scale back number of cores further on systems with less memory. These should be applied to qtwebengine as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              drobbins drobbins
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: