Boost C++ Libraries: Ticket #2307: Runaway compiler memory use in test https://svn.boost.org/trac10/ticket/2307 <p> On GCC-4.1.0 just <em>compiling</em> the test_ibeta_real_concept and test_binomial_real_concept tests consume over 1.6G of memory before I decide that the swapping is unacceptable and I kill cc1plus. That leads me to suspect strongly that source:/trunk/status/explicit-failures-markup.xml@48168#L3411 wrongly blames the running time of the test. It seems to me that these tests might be made to work by breaking up the source files into chunks that are manageable by the compiler. </p> <p> I'm happy to give you access to a system where you can experience the issue firsthand if you don't have one yourself. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2307 Trac 1.4.3 Dave Abrahams Mon, 08 Sep 2008 13:49:28 GMT description changed https://svn.boost.org/trac10/ticket/2307#comment:1 https://svn.boost.org/trac10/ticket/2307#comment:1 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/2307?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket Dave Abrahams Mon, 08 Sep 2008 13:53:30 GMT description changed https://svn.boost.org/trac10/ticket/2307#comment:2 https://svn.boost.org/trac10/ticket/2307#comment:2 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/2307?action=diff&amp;version=2">diff</a>) </li> </ul> Ticket John Maddock Mon, 08 Sep 2008 16:33:14 GMT status changed https://svn.boost.org/trac10/ticket/2307#comment:3 https://svn.boost.org/trac10/ticket/2307#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> I'll try and fix this, but it's not that easy: I tried splitting the real_concept tests into 7 parts, but the memory consumed stayed the same (about 400Mb on Mingw), this compares to just 50Mb for msvc :-( </p> <p> I'll have to look into this some more. </p> <p> John. </p> Ticket John Maddock Mon, 08 Sep 2008 17:57:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2307#comment:4 https://svn.boost.org/trac10/ticket/2307#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> OK, I've managed to get memory usage down to 200Mb with Mingw GCC-4.3, can't at present see how to reduce it further without sacrificing test coverage. </p> <p> Closing for now, please reopen if this doesn't work for you. </p> Ticket Dave Abrahams Mon, 08 Sep 2008 18:27:30 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/2307#comment:5 https://svn.boost.org/trac10/ticket/2307#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Hum; I guess I'm reopening this one. </p> <ul><li>The same problem occurs with test_ibeta_inv_real_concept and test_ibeta_real_concept </li></ul><ul><li>I still think explicit-failures-markup.xml probably needs to be fixed. </li></ul> Ticket John Maddock Tue, 09 Sep 2008 12:10:14 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2307#comment:6 https://svn.boost.org/trac10/ticket/2307#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/48682" title="Split files into smaller tests. Fixes #2307.">[48682]</a>) Split files into smaller tests. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2307" title="#2307: Bugs: Runaway compiler memory use in test (closed: fixed)">#2307</a>. </p> Ticket Dave Abrahams Tue, 09 Sep 2008 13:30:59 GMT <link>https://svn.boost.org/trac10/ticket/2307#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2307#comment:7</guid> <description> <p> For the record: closing this ticket required <a class="changeset" href="https://svn.boost.org/trac10/changeset/48667" title="Break the test_binomial_real_concept test into 7 parts to reduce ...">[48667]</a> as well. </p> </description> <category>Ticket</category> </item> </channel> </rss>