This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
We upgraded sparc machine. Now Boost test fails with OutOfMemoryError for a 3 latest days. [junit] SEVERE [global] [junit] java.lang.OutOfMemoryError: GC overhead limit exceeded [junit] SEVERE [global] [junit] java.lang.OutOfMemoryError: GC overhead limit exceeded [junit] SEVERE [global] [junit] java.lang.OutOfMemoryError: GC overhead limit exceeded [junit] WARNING [sun.awt.X11.XToolkit]: Exception on Toolkit thread [junit] java.lang.OutOfMemoryError: GC overhead limit exceeded [junit] SEVERE [org.openide.util.RequestProcessor] [junit] java.lang.OutOfMemoryError: GC overhead limit exceeded
The bug is reproduced on header: boost_1_54_0/boost/function/function_template.hpp OOM in ArrayList<UsingDeclarationImpl> that contains 25M the same UsingDeclarationImpl. List is a value of a entry of MapsCollection.usingDeclarations
Probably the bug is a result of the fix of the bug #235612
there were two problems: - repetition of gathering using decls in maps + disabled cache in issue #235612 in commit http://hg.netbeans.org/cnd-main/rev/bc1384664e04 had to revert disabled cache, because resolving became ~250times slower (0.6 sec => 170sec)
(In reply to Vladimir Voskresensky from comment #3) > there were two problems: > - repetition of gathering using decls in maps http://hg.netbeans.org/cnd-main/rev/95500a375bbc > > + disabled cache in issue #235612 in commit > http://hg.netbeans.org/cnd-main/rev/bc1384664e04 > had to revert disabled cache, because resolving became ~250times slower (0.6 > sec => 170sec) http://hg.netbeans.org/cnd-main/rev/8cacb94e3834
test case is hyperlink on typedef detail::function::BOOST_FUNCTION_GET_INVOKER<tag> get_invoker; in file boost_1_54_0/boost/function/function_template.hpp
This is fixed. I would reopen issue #235612
Verified. [junit] Testcase: testErrorHighlightingBoost(ide.inaccuracy.ErrorHighlightingBoostTest_1): FAILED [junit] Test failed. Expected: 1408 identifiers, Real: 1540: [junit] org.netbeans.junit.AssertionFailedErrorException: Test failed. Expected: 1408 identifiers, Real: 1540: [junit] [junit] Nested Exception is: [junit] java.lang.Exception: Test failed. Expected: 1408 identifiers, Real: 1540 [junit] at com.sun.ifdefqe.IfdefTestCase.addFailureReason(IfdefTestCase.java:697)
Integrated into 'main-silver', will be available in build *201410010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/95500a375bbc User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #247539 - inaccuracy tests: OutOfMemoryError in Boost // do not add using several times // it could be the case when outer container has several copies // with same offsets but different names (i.e. macro-based name) // we don't want to have infinite loop
Integrated into 'releases/release801', will be available in build *201410071419* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/682d524b932b User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #247539 - inaccuracy tests: OutOfMemoryError in Boost // do not add using several times // it could be the case when outer container has several copies // with same offsets but different names (i.e. macro-based name) // we don't want to have infinite loop (transplanted from 95500a375bbc1364da8d4ca8499f871a728bab06)