Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT6.4 on Ubuntu22.04 OOM
Forum Updated to NodeBB v4.3 + New Features

QT6.4 on Ubuntu22.04 OOM

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 670 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NancyChiang
    wrote on last edited by
    #1

    S__85360643.jpg
    Hi,
    My SUT is 64G but still out of range.
    Is there anyone know what happen when build QT6.4 on Ubuntu22.04 memory increasing so fast cause OOM issue.
    I get the source package in here https://download.qt.io/official_releases/qt/6.4/6.4.0/single/qt-everywhere-src-6.4.0.tar.xz
    And ./configure -prefix /usr/local/Qt6 then "cmake --build ."
    I want to use qtwebengine for development, is there anyone can help to fix this.
    Thanks.

    jsulmJ 1 Reply Last reply
    0
    • N NancyChiang

      S__85360643.jpg
      Hi,
      My SUT is 64G but still out of range.
      Is there anyone know what happen when build QT6.4 on Ubuntu22.04 memory increasing so fast cause OOM issue.
      I get the source package in here https://download.qt.io/official_releases/qt/6.4/6.4.0/single/qt-everywhere-src-6.4.0.tar.xz
      And ./configure -prefix /usr/local/Qt6 then "cmake --build ."
      I want to use qtwebengine for development, is there anyone can help to fix this.
      Thanks.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @NancyChiang Limit the number of parallel build jobs to avoid OOM.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • N Offline
        N Offline
        NancyChiang
        wrote on last edited by
        #3

        @jsulm I try parallel build, still not work.

        jsulmJ 1 Reply Last reply
        0
        • N NancyChiang

          @jsulm I try parallel build, still not work.

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @NancyChiang said in QT6.4 on Ubuntu22.04 OOM:

          I try parallel build

          I suggested to LIMIT the number of parallel build processes - did you try that?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          N 1 Reply Last reply
          1
          • JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #5

            You do not need to build it unless you are keen at practice. Why not simply install it with online installer? /opt may be a better place for installation than /usr/local.
            Default installation dir of online installer is under /opt

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @NancyChiang said in QT6.4 on Ubuntu22.04 OOM:

              I try parallel build

              I suggested to LIMIT the number of parallel build processes - did you try that?

              N Offline
              N Offline
              NancyChiang
              wrote on last edited by
              #6

              @jsulm I set 1, finally it's take one night build completed.

              jsulmJ 1 Reply Last reply
              0
              • N NancyChiang

                @jsulm I set 1, finally it's take one night build completed.

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @NancyChiang You can experiment with the number until it does not go out of memory.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                N 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @NancyChiang You can experiment with the number until it does not go out of memory.

                  N Offline
                  N Offline
                  NancyChiang
                  wrote on last edited by
                  #8

                  @jsulm not sure why only 1 can successfully, more than one will cause OOM.

                  jsulmJ 1 Reply Last reply
                  0
                  • N NancyChiang

                    @jsulm not sure why only 1 can successfully, more than one will cause OOM.

                    jsulmJ Online
                    jsulmJ Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @NancyChiang This is indeed strange!
                    Looks like it is building Chromium when it fails, not sure what Chromium folks do :-)

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved