Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngine crosscompile linking want very large /tmp/sometempfile (memory exhausted error)
Forum Updated to NodeBB v4.3 + New Features

QtWebEngine crosscompile linking want very large /tmp/sometempfile (memory exhausted error)

Scheduled Pinned Locked Moved Unsolved QtWebEngine
8 Posts 3 Posters 2.1k Views 1 Watching
  • 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.
  • _ Offline
    _ Offline
    _dmp
    wrote on last edited by _dmp
    #1

    Hi
    I use the Ubuntu x64 for my host mashine to build rootfs for Fscale IMX6.
    I try build qtwebengine (Qt 5.9.1) by "buildroot" and have no success.
    All tasks for build *.so file is complited. Link step use all ram memory and a bit the swap. About 6...7 GB for this.
    Some time late i got an error "memory exhausted". So what I can do for succes?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi,

      AFAIK, QtWebEngine (or rather its dependencies) need a lot of resources to build and link. So first thing: do you need that module ? If not, just don't build it. Otherwise... What are your machine specification ?

      By the way, you should consider updating the Qt version you are using, the latest of the 5.9 series is currently 5.9.4.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      _ 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        AFAIK, QtWebEngine (or rather its dependencies) need a lot of resources to build and link. So first thing: do you need that module ? If not, just don't build it. Otherwise... What are your machine specification ?

        By the way, you should consider updating the Qt version you are using, the latest of the 5.9 series is currently 5.9.4.

        _ Offline
        _ Offline
        _dmp
        wrote on last edited by _dmp
        #3

        @SGaist I need qtwebengine functions. I want embed to my application the web browser.
        I try now build version 5.9.3 and have no success too. I got error "insufficient memory".
        I have i7, 4 GB of memory, 8 GB of swap.
        I built all modules of Qt5.9.3
        All built ok, but QtWebEngine - have no success.
        The last string of log is:
        /home/work/buildroots/defconfig/output/host/usr/bin/arm-buildroot-linux-gnueabihf-g++ --sysroot=/home/work/buildroots/defconfig/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot -Wl,--no-undefined -Wl,--version-script,QtWebEngineCore.version -Wl,--gc-sections -Wl,-O1 -Wl,-z,now -Wl,-z,defs -Wl,--enable-new-dtags -shared -Wl,-soname,libQt5WebEngineCore.so.5 -o libQt5WebEngineCore.so.5.9.3 -lrt -lpthread -ldl -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Gui -lQt5Core -lrt -ldl -latomic -lpthread -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Qml -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Positioning -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Core -lrt -ldl -latomic -lpthread -lpthread @/home/work/buildroots/defconfig/output/build/qt5webengine-5.9.3/src/core/Debug/Qt5WebEngineCore.rsp -Wl,--start-group /home/work/buildroots/defconfig/output/build/qt5webengine-5.9.3/src/core/Debug/obj/base/libbase.a ...................here skipped many files star.a ........................ -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Gui -lQt5Core -lrt -ldl -latomic -lpthread -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Qml -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Positioning -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Core -lrt -ldl -latomic -lpthread -lGLESv2 -lEGL -lpthread -ldl -lrt -levent -lfontconfig -lfreetype -lexpat -lpng16 -lresolv -ldbus-1 -lavcodec -lavformat -lavutil -lopus -lasound -L/home/work/buildroots/defconfig/output/build/qt5webengine-5.9.3/src/core/api/Debug -Wl,-whole-archive -lqtwebenginecoreapi -Wl,-no-whole-archive -lEGL -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Gui -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Qml -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Network -lQt5Core -lrt -ldl -latomic -lpthread -lQt5Core -lrt -ldl -latomic -lpthread -lGLESv2 -lEGL
        /home/work/buildroots/defconfig/output/build/qt5webengine-5.9.3/src/core/Debug/obj/media/blink/libmedia_blink.a: error adding symbols: insufficient memory

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          AFAIK, 4GB is way too low especially if you build a debug version.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          _ 1 Reply Last reply
          0
          • SGaistS SGaist

            AFAIK, 4GB is way too low especially if you build a debug version.

            _ Offline
            _ Offline
            _dmp
            wrote on last edited by
            #5

            @SGaist Wow... How many need of RAM for build qtwebengine?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              It's not QtWebEngine itself that is so hungry it's chromium that is the backend. See here for the linux requirements.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              _ T 2 Replies Last reply
              1
              • SGaistS SGaist

                It's not QtWebEngine itself that is so hungry it's chromium that is the backend. See here for the linux requirements.

                _ Offline
                _ Offline
                _dmp
                wrote on last edited by
                #7

                @SGaist Thank you very much. I will force my comp.

                1 Reply Last reply
                0
                • SGaistS SGaist

                  It's not QtWebEngine itself that is so hungry it's chromium that is the backend. See here for the linux requirements.

                  T Offline
                  T Offline
                  Trung Nguyen Hoang
                  wrote on last edited by
                  #8
                  This post is deleted!
                  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