Cc1plus.exe:-1: error: out of memory allocating 262575 bytes
I am building with Qt 5.2 with the Mingw 4.8.0 on windows 8 and I am trying to trouble shoot the following error, cc1plus.exe:-1: error: out of memory allocating 262575 bytes.
From my searches, I saw a bug report that the Mingw was the cause of this error. https://bugreports.qt-project.org/browse/QTBUG-29099.
Does anyone have an idea of what the problem and fix might be?
I have the same error with Qt 5.2.0 and MinGw 4.8.1 on Windows 7 x64.
The error only occurs in release mode when are combined several libraries with heavy use of inline functions (boost, cgal, eigen).
The error only occurs for me as well when I use boost and eigen. Have you had any luck with a solution?
I assume we have to wait a fix on mingw (gcc). Meanwhile I downgrade to mingw 4.7.1 to use qt 5.2 with eigen, boost and cgal.
Has anyone found a better solution to this yet? I have similar using Eigen 3.2.1 and Qt5.2.x.
I had the MinGW reversion solution working a while back but on upgrading to 5.2.1 it seems to be back / or the code compiles but crashes immediately on execution.
I've raised a "new bug":https://bugreports.qt-project.org/browse/QTBUG-38312 as the original seems to be related to qdrawhelper.cpp rather than maths libraries.
PS: Link to original bug not working for me so reposting "here":https://bugreports.qt-project.org/browse/QTBUG-29099