I committed a fix .. it was allocating ~184 MB array, so I reduced test evilness.
Mike McCandless http://blog.mikemccandless.com On Fri, Nov 7, 2014 at 4:02 PM, Michael McCandless <luc...@mikemccandless.com> wrote: > I'll dig. > > Mike McCandless > > http://blog.mikemccandless.com > > > 2014-11-07 10:55 GMT-05:00 Policeman Jenkins Server <jenk...@thetaphi.de>: >> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/1926/ >> Java: 64bit/jdk1.7.0 -XX:-UseCompressedOops -XX:+UseG1GC (asserts: true) >> >> 1 tests failed. >> REGRESSION: org.apache.lucene.search.TestAutomatonQuery.testHugeAutomaton >> >> Error Message: >> Java heap space >> >> Stack Trace: >> java.lang.OutOfMemoryError: Java heap space >> at >> __randomizedtesting.SeedInfo.seed([D44B0FFD2A48643F:ABE1173A400E0D96]:0) >> at >> org.apache.lucene.util.automaton.RunAutomaton.<init>(RunAutomaton.java:144) >> at >> org.apache.lucene.util.automaton.ByteRunAutomaton.<init>(ByteRunAutomaton.java:32) >> at >> org.apache.lucene.util.automaton.CompiledAutomaton.<init>(CompiledAutomaton.java:203) >> at >> org.apache.lucene.search.AutomatonQuery.<init>(AutomatonQuery.java:84) >> at >> org.apache.lucene.search.TestAutomatonQuery.testHugeAutomaton(TestAutomatonQuery.java:251) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877) >> at >> org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50) >> at >> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >> at >> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >> at >> org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49) >> at >> org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65) >> at >> org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) >> at >> com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) >> at >> com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365) >> at >> com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798) >> at >> com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772) >> at >> com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783) >> at >> org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46) >> at >> org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) >> at >> com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) >> at >> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) >> at >> com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) >> >> >> >> >> Build Log: >> [...truncated 1331 lines...] >> [junit4] Suite: org.apache.lucene.search.TestAutomatonQuery >> [junit4] 2> NOTE: reproduce with: ant test >> -Dtestcase=TestAutomatonQuery -Dtests.method=testHugeAutomaton >> -Dtests.seed=D44B0FFD2A48643F -Dtests.slow=true -Dtests.locale=en_GB >> -Dtests.timezone=SystemV/CST6 -Dtests.asserts=true >> -Dtests.file.encoding=ISO-8859-1 >> [junit4] ERROR 1.91s | TestAutomatonQuery.testHugeAutomaton <<< >> [junit4] > Throwable #1: java.lang.OutOfMemoryError: Java heap space >> [junit4] > at >> __randomizedtesting.SeedInfo.seed([D44B0FFD2A48643F:ABE1173A400E0D96]:0) >> [junit4] > at >> org.apache.lucene.util.automaton.RunAutomaton.<init>(RunAutomaton.java:144) >> [junit4] > at >> org.apache.lucene.util.automaton.ByteRunAutomaton.<init>(ByteRunAutomaton.java:32) >> [junit4] > at >> org.apache.lucene.util.automaton.CompiledAutomaton.<init>(CompiledAutomaton.java:203) >> [junit4] > at >> org.apache.lucene.search.AutomatonQuery.<init>(AutomatonQuery.java:84) >> [junit4] > at >> org.apache.lucene.search.TestAutomatonQuery.testHugeAutomaton(TestAutomatonQuery.java:251) >> [junit4] 2> NOTE: test params are: codec=Asserting(Lucene50), >> sim=DefaultSimilarity, locale=en_GB, timezone=SystemV/CST6 >> [junit4] 2> NOTE: Mac OS X 10.8.5 x86_64/Oracle Corporation 1.7.0_67 >> (64-bit)/cpus=2,threads=1,free=364428328,total=393216000 >> [junit4] 2> NOTE: All tests run in this JVM: >> [TestLucene50FieldInfoFormat, TestSimilarityBase, >> TestMultiValuedNumericRangeQuery, TestDateSort, TestMultiTermConstantScore, >> TestIndexSearcher, TestRateLimiter, TestCompiledAutomaton, >> TestMultiLevelSkipList, TestNormsFormat, TestFilterDirectory, >> TestScorerPerf, TestIndexWriterWithThreads, TestTieredMergePolicy, >> TestMathUtil, TestBlockPostingsFormat, TestVirtualMethod, >> TestNamedSPILoader, TestLevenshteinAutomata, TestPerFieldPostingsFormat, >> TestNeverDelete, TestPrefixInBooleanQuery, TestMixedCodecs, >> TestBooleanMinShouldMatch, TestPayloadExplanations, TestBagOfPostings, >> TestMixedDocValuesUpdates, TestRamUsageEstimatorOnWildAnimals, >> TestPerSegmentDeletes, TestIdentityHashSet, TestRegexpQuery, >> TestNIOFSDirectory, TestIndexWriterThreadsToSegments, TestIndexWriterCommit, >> TestDocTermOrdsRangeFilter, TestParallelCompositeReader, TestMutableValues, >> TestDocValuesFormat, TestCachingWrapperFilter, TestAssertions, >> TestDeletionPolicy, TestFilteredSearch, TestAtomicUpdate, TestTerm, >> TestSpansAdvanced, TestNRTThreads, TestFlushByRamOrCountsPolicy, >> TestSameScoresWithThreads, TestTimSorter, TestBytesRefArray, >> TestSimilarity2, TestCachingCollector, TestDocValuesScoring, TestSetOnce, >> TestNRTReaderWithThreads, TestTransactionRollback, >> TestIndexWriterOnDiskFull, TestFixedBitSet, TestRecyclingIntBlockAllocator, >> Test2BPostingsBytes, TestShardSearching, TestGraphTokenizers, >> TestLongBitSet, Nested1, Nested2, Nested, TestPriorityQueue, >> TestTermVectorsFormat, TestLock, Test2BPagedBytes, TestBasics, >> TestCloseableThreadLocal, TestWildcardRandom, TestTerms, >> TestFileSwitchDirectory, TestDocumentWriter, TestNearSpansOrdered, >> MultiCollectorTest, TestSameTokenSamePosition, TestTopFieldCollector, >> TestSort, TestOfflineSorter, TestDeterminizeLexicon, >> TestIndexWriterLockRelease, TestDocValuesIndexing, TestLucene50NormsFormat, >> Test2BNumericDocValues, TestPhraseQuery, TestParallelReaderEmptyIndex, >> TestFastCompressionMode, TestTopDocsCollector, >> TestDocumentsWriterStallControl, TestIntBlockPool, >> TestSnapshotDeletionPolicy, TestDocsAndPositions, >> TestAllFilesHaveChecksumFooter, TestStressNRT, TestRollback, >> TestLookaheadTokenFilter, TestDocumentsWriterDeleteQueue, >> TestCollectionUtil, TestFieldCacheRewriteMethod, TestMinShouldMatch2, >> TestByteBlockPool, TestNoDeletionPolicy, TestSimpleExplanationsOfNonMatches, >> TestIndexWriterMergePolicy, TestTopDocsMerge, TestElevationComparator, >> TestTermdocPerf, TestIsCurrent, TestLucene50DocValuesFormat, >> TestEliasFanoSequence, TestLucene50TermVectorsFormat, >> TestPerFieldDocValuesFormat, TestCheckIndex, TestToken, TestSentinelIntSet, >> Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, >> Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, Nested, >> Nested, Nested, Nested, TestUTF32ToUTF8, TestExitableDirectoryReader, >> TestBlockPostingsFormat2, TestPackedTokenAttributeImpl, Before3, Before3, >> TestFieldCacheTermsFilter, TestWildcard, TestSubScorerFreqs, >> TestIndexWriterOutOfFileDescriptors, TestRateLimitedDirectoryWrapper, >> TestPerFieldPostingsFormat2, TestByteArrayDataInput, >> TestBinaryDocValuesUpdates, Test2BTerms, TestDisjunctionMaxQuery, >> TestAssertingDocValuesFormat, TestWeakIdentityMap, TestMinimize, >> TestSegmentTermEnum, TestFieldReuse, TestSegmentMerger, >> TestPositionIncrement, TestMockAnalyzer, TestBooleanUnevenly, >> TestIndexWriterReader, TestVersion, TestSimpleAttributeImpl, TestNorms, >> TestStressIndexing, TestFastDecompressionMode, TestMultiPhraseQuery, >> TestIntroSorter, TestRoaringDocIdSet, TestSegmentTermDocs, TestAutomaton, >> Nested3, Nested2, Nested1, TestSimpleFSDirectory, TestSpanSearchEquivalence, >> TestForTooMuchCloning, TestCrash, TestIndexWriterUnicode, >> TestRamUsageEstimator, TestForceMergeForever, TestTermsEnum, >> TestCustomSearcherSort, NestedSetupChain, NestedTeardownChain, >> TestWorstCaseTestBehavior, TestFlex, TestNumericRangeQuery32, >> TestNewestSegment, TestStringHelper, TestTwoPhaseCommitTool, >> TestLucene50CompoundFormat, TestScoreCachingWrappingScorer, >> TestIndexWriterMerging, TestArrayUtil, TestDuelingCodecs, TestBytesRef, >> TestFuzzyQuery, TestSearchForDuplicates, TestRollingBuffer, TestDocBoost, >> TestFieldValueFilter, TestIndexWriterOutOfMemory, TestTransactions, >> TestInPlaceMergeSorter, TestUniqueTermCount, TestConsistentFieldNumbers, >> TestControlledRealTimeReopenThread, TestBooleanQueryVisitSubscorers, >> TestSortedSetSortField, TestTermVectorsReader, TestFilterIterator, >> TestLucene50SegmentInfoFormat, TestPostingsOffsets, TestParallelTermEnum, >> TestPackedInts, TestCharTermAttributeImpl, TestSimilarityProvider, >> TestRecyclingByteBlockAllocator, TestTryDelete, TestStressAdvance, >> NonStringProperties, InBeforeClass, InAfterClass, InTestMethod, >> TestIndexWriter, TestCompressingTermVectorsFormat, TestFSTs, >> TestNumericRangeQuery64, TestBytesStore, TestAddIndexes, >> TestIndexWriterExceptions, TestMultiMMap, TestSearcherManager, >> TestBooleanOr, TestSloppyPhraseQuery, TestIndexWriterDelete, TestBoolean2, >> TestPersistentSnapshotDeletionPolicy, TestDirectoryReaderReopen, >> TestTimeLimitingCollector, TestSearchWithThreads, TestSearchAfter, >> TestConcurrentMergeScheduler, TestHighCompressionMode, TestLongPostings, >> TestRollingUpdates, TestDocTermOrdsRewriteMethod, TestIndexWriterForceMerge, >> TestByteSlices, TestBufferedIndexInput, TestSimpleExplanations, >> TestDirectoryReader, TestCompressingStoredFieldsFormat, TestLockFactory, >> TestBagOfPositions, TestOmitNorms, TestComplexExplanations, >> TestRegexpRandom2, TestNRTCachingDirectory, TestSegmentReader, >> TestIndexWriterNRTIsCurrent, TestPagedBytes, TestMultiThreadTermVectors, >> TestMultiDocValues, TestFieldsReader, TestSimpleSearchEquivalence, >> TestPostingsFormat, TestPayloadTermQuery, TestHugeRamFile, TestTermsEnum2, >> TestNumericUtils, TestSpans, TestCustomNorms, TestPayloadSpans, >> TestSpanExplanations, TestStressIndexing2, TestRAMDirectory, >> TestLazyProxSkipping, TestDeterminism, TestMergeSchedulerExternal, >> TestFieldCacheRangeFilter, TestTermVectorsWriter, TestCodecs, >> TestOmitPositions, TestParallelLeafReader, TestBytesRefHash, >> TestThreadedForceMerge, TestIndexInput, TestFilteredQuery, >> TestSloppyPhraseQuery2, TestOmitTf, TestQueryWrapperFilter, TestMultiFields, >> TestTermRangeQuery, TestPayloadNearQuery, TestCrashCausesCorruptIndex, >> TestLiveFieldValues, TestPayloads, TestDoc, TestTermRangeFilter, >> TestFieldMaskingSpanQuery, TestExternalCodecs, TestTermVectors, >> TestSpansAdvanced2, TestBooleanQuery, TestComplexExplanationsOfNonMatches, >> TestUnicodeUtil, TestSortRandom, TestPrefixCodedTerms, >> TestAllFilesHaveCodecHeader, TestAutomatonQuery] >> [junit4] Completed in 3.58s, 8 tests, 1 error <<< FAILURES! >> >> [...truncated 381 lines...] >> [junit4] JVM J0: stdout was not empty, see: >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/build/core/test/temp/junit4-J0-20141107_153110_538.sysout >> [junit4] >>> JVM J0: stdout (verbatim) ---- >> [junit4] java.lang.OutOfMemoryError: Java heap space >> [junit4] Dumping heap to >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/heapdumps/java_pid140.hprof >> ... >> [junit4] Heap dump file created [29612145 bytes in 0.305 secs] >> [junit4] <<< JVM J0: EOF ---- >> >> [...truncated 8 lines...] >> BUILD FAILED >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:525: The >> following error occurred while executing this line: >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:473: The >> following error occurred while executing this line: >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:61: The >> following error occurred while executing this line: >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/extra-targets.xml:39: The >> following error occurred while executing this line: >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/build.xml:49: The >> following error occurred while executing this line: >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/common-build.xml:1358: >> The following error occurred while executing this line: >> /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/lucene/common-build.xml:965: >> There were test failures: 405 suites, 3314 tests, 1 error, 60 ignored (50 >> assumptions) >> >> Total time: 24 minutes 57 seconds >> Build step 'Invoke Ant' marked build as failure >> [description-setter] Description set: Java: 64bit/jdk1.7.0 >> -XX:-UseCompressedOops -XX:+UseG1GC (asserts: true) >> Archiving artifacts >> Recording test results >> Email was triggered for: Failure - Any >> Sending email for trigger: Failure - Any >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org