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. RCC-generated files + VS2013 = extraordinary memory usage

RCC-generated files + VS2013 = extraordinary memory usage

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.5k 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.
  • M Offline
    M Offline
    MuldeR
    wrote on last edited by
    #1

    Hi.

    Today I gave VS2013 a first try. So far, the GUI and Editor have greatly improved since VS2012, but I noticed a serious problem while compiling my project: Extraordinary memory usage occurred while compiling files generated by Qt's RCC. The whole system would lock up for a few minutes! Then I get the error message (from the system) that all virtual memory is used up and that I should close applications. Finally, compiler (cl.exe) fails with "out of heap space" error.

    It only happens with the RCC-generated .cpp files. And under VS2012 there was no such issue. So I wonder: Are there any compiler options I can tweak, specifically for the RCC-generated .cpp files to keep memory use lower? So far I tried "/O1" (Optimization Level: Minimize Size) as well as "/Zm" wth various values. No success.

    Of course I can split my QRC files into more smaller files, but that is more a workaround than a solution ;-)

    Regards,
    MuldeR

    My OpenSource software at: http://muldersoft.com/

    Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

    Go visit the coop: http://youtu.be/Jay...

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

      Hi,

      You might want to bring that point to the interest mailing list, you'll have more chance to reach the right person for this problem :-)

      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

      • Login

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