Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55293

Medium sized qrc files throw fatal error C1060: compiler is out of heap space

    XMLWordPrintable

    Details

      Description

      Medium sized qrc files throw fatal error C1060: compiler is out of heap space.

      This happens when I try to compile with MSVC2015 64bit. The files in the qrc file are of about 10 MB in size. It contains qml files, images and sounds.

      When I first encountered this error, a year ago, I split the qrc files into multiple qrc files. But every now and then, when I update to a newer version of Qt, the compiled qrc files seem to get larger and larger and I'm sometimes forced to resplit the qrc-s again and again. This is a real nuisance, especially when working with 40+ projects.

      This kind of error might not be limited to MSVC2015. But when this happens with 10MB files, as it does with MSVC2015, it's getting really annoying.

      As a solution, wouldn't it be possible to have a background task that breaks the larger qrc into multiple qrc-s before being compiled? Can't this be done through qmake?

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              docteam Qt Documentation Team
              Reporter:
              adrian.gabureanu Adrian Gabureanu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes