Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.5.3
-
None
-
Windows XP, GCC from MinGW
-
5395180fcb9a68b1590ce4bf29ef26745161403f
Description
I tried embedding a 7MB resource in an executable and saw this operation needed ~3GB of memory to complete.
This is way too much IMHO. You should be able to embed a file weighing ~1GB with 3GB of memory available.
A way to do this IMHO is generating the .o file without using gcc to compile big files; gcc uses way too much memory for such files.
Steps to reproduce:
1. Have a ~20MB compressed file (so rcc cannot compress it much)
2. Try to compile it statically into an executable using a machine with <=4GB of memory
Expected result:
No problem, this operation is successful and uses little memory (say <100MB).
Current result:
The compilation fails because it runs out of memory.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-12226 QRC only-pattern generates Memory Exhaustion very commonly
- Closed
- replaces
-
QTBUG-39894 [Reg 5.2.1 -> 5.3] Adding certain tiff file to qrc creates huge compiled qrc.cpp file
- Closed
- resulted in
-
QTBUG-50468 CONFIG += resources_big is not documented (enough?)
- Reported
For Gerrit Dashboard: QTBUG-6199 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
85416,3 | WIP Rcc: Introduce a mode to output mixed C++ and assembler | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |