cc1plus.exe: 分配 536875007 字节内存不足

cc1plus.exe: out of memory allocating 536875007 bytes

我试图 运行 我的源代码。之前还好好的,突然报错:

cc1plus.exe: out of memory allocating 536875007 bytes
Makefile.Debug:1798: recipe for target 'debug/qrc_qml.o' failed
mingw32-make[1]: Leaving directory '/path/Source/source'
mingw32-make[1]: *** [debug/qrc_qml.o] Error 1
Makefile:36: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
12:19:08: The process "C:\Qt\Qt5.10.0\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project Qt_NGI (kit: Desktop Qt 5.10.0 MinGW 32bit)
When executing step "Make"
12:19:08: Elapsed time: 01:1

This thread solved my issue

添加了 "CONFIG += resources_big" into *.pro 个文件。