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. Memory Allocation Error in Qt Creator
Forum Update on Monday, May 27th 2025

Memory Allocation Error in Qt Creator

Scheduled Pinned Locked Moved General and Desktop
4 Posts 4 Posters 4.1k 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.
  • S Offline
    S Offline
    sergex
    wrote on last edited by
    #1

    Hello,

    I was building a simple application on Qt Creator (Windows 7 OS) to try out the Phonon API. First I just designed a Mainwindow widget. Got that running fine. Then trying out some simple code to play a wav file looking at some examples all of a sudden I got the error:

    out of memory allocating 134221823 bytes
    File not Found: cc1plus.exe

    Then I just commented out every line of code that I added before the error when everything was fine and oddly now I get the same error. Before adding some functionality everything was running fine as far as the GUI goes. Then I tried to add some functionality, got the error and then just taking out what I added I'm now getting this same allocation error.

    What could be wrong?

    1 Reply Last reply
    0
    • JohanSoloJ Offline
      JohanSoloJ Offline
      JohanSolo
      wrote on last edited by
      #2

      When does this error occur?

      From the "cc1plus.exe" I'd guess it's when you try to compile the file... I had some time ago a similar problem (which had nothing to do with Qt), just because the compiler's configuration was wrong : it resulted in the compiler eating all my RAM and my swap.

      `They did not know it was impossible, so they did it.'
      -- Mark Twain

      1 Reply Last reply
      0
      • V Offline
        V Offline
        viperzero
        wrote on last edited by
        #3

        i have the same problem , (out of memory allocating 134221823 cc1plus.exe) .
        how can I solve ??

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          By explaining what you are doing to get the error first. What do you do when running into this error?

          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