Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cc1plus.exe:-1: error: out of memory allocating 262575 bytes
Qt 6.11 is out! See what's new in the release blog

Cc1plus.exe:-1: error: out of memory allocating 262575 bytes

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 7.2k 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.
  • W Offline
    W Offline
    Whiterabbott
    wrote on last edited by
    #1

    I am building with Qt 5.2 with the Mingw 4.8.0 on windows 8 and I am trying to trouble shoot the following error, cc1plus.exe:-1: error: out of memory allocating 262575 bytes.

    From my searches, I saw a bug report that the Mingw was the cause of this error. https://bugreports.qt-project.org/browse/QTBUG-29099.

    Does anyone have an idea of what the problem and fix might be?

    Thanks.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cmena
      wrote on last edited by
      #2

      I have the same error with Qt 5.2.0 and MinGw 4.8.1 on Windows 7 x64.

      The error only occurs in release mode when are combined several libraries with heavy use of inline functions (boost, cgal, eigen).

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Whiterabbott
        wrote on last edited by
        #3

        The error only occurs for me as well when I use boost and eigen. Have you had any luck with a solution?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cmena
          wrote on last edited by
          #4

          I assume we have to wait a fix on mingw (gcc). Meanwhile I downgrade to mingw 4.7.1 to use qt 5.2 with eigen, boost and cgal.

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yalnte
            wrote on last edited by
            #5

            Has anyone found a better solution to this yet? I have similar using Eigen 3.2.1 and Qt5.2.x.

            I had the MinGW reversion solution working a while back but on upgrading to 5.2.1 it seems to be back / or the code compiles but crashes immediately on execution.

            I've raised a "new bug":https://bugreports.qt-project.org/browse/QTBUG-38312 as the original seems to be related to qdrawhelper.cpp rather than maths libraries.

            PS: Link to original bug not working for me so reposting "here":https://bugreports.qt-project.org/browse/QTBUG-29099

            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