Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 072F27796 for ; Wed, 5 Oct 2011 01:34:00 +0000 (UTC) Received: (qmail 38458 invoked by uid 500); 5 Oct 2011 01:33:58 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 38392 invoked by uid 500); 5 Oct 2011 01:33:58 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 38385 invoked by uid 99); 5 Oct 2011 01:33:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 01:33:58 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 01:33:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 16DEE2A932F for ; Wed, 5 Oct 2011 01:33:34 +0000 (UTC) Date: Wed, 5 Oct 2011 01:33:34 +0000 (UTC) From: "Robert Muir (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <2075718749.10325.1317778414095.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <682317037.10710.1316970986126.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3463) Jenkins trunk tests (nightly only) fail quite often with OOM in Automaton/FST tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120641#comment-13120641 ] Robert Muir commented on LUCENE-3463: ------------------------------------- +1 > Jenkins trunk tests (nightly only) fail quite often with OOM in Automaton/FST tests > ----------------------------------------------------------------------------------- > > Key: LUCENE-3463 > URL: https://issues.apache.org/jira/browse/LUCENE-3463 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 4.0 > Reporter: Uwe Schindler > Fix For: 4.0 > > Attachments: LUCENE-3463.patch, LUCENE-3463.patch, LUCENE-3463.patch, LUCENE-3463.patch, LUCENE-3463.patch, LUCENE-3463.patch, LUCENE-3463.patch > > > The nightly Job Lucene-trunk quite often fails with OOM (in several methods, not always in the same test): > Example from last night (this time a huge Automaton): > {noformat} > [junit] java.lang.OutOfMemoryError: Java heap space > [junit] Dumping heap to /home/hudson/hudson-slave/workspace/Lucene-trunk/heapdumps/java_pid38855.hprof ... > [junit] Heap dump file created [86965954 bytes in 1.186 secs] > [junit] Testsuite: org.apache.lucene.index.TestTermsEnum > [junit] Testcase: testIntersectRandom(org.apache.lucene.index.TestTermsEnum): Caused an ERROR > [junit] Java heap space > [junit] java.lang.OutOfMemoryError: Java heap space > [junit] at org.apache.lucene.util.automaton.RunAutomaton.(RunAutomaton.java:128) > [junit] at org.apache.lucene.util.automaton.ByteRunAutomaton.(ByteRunAutomaton.java:28) > [junit] at org.apache.lucene.util.automaton.CompiledAutomaton.(CompiledAutomaton.java:134) > [junit] at org.apache.lucene.index.TestTermsEnum.testIntersectRandom(TestTermsEnum.java:266) > [junit] at org.apache.lucene.util.LuceneTestCase$2$1.evaluate(LuceneTestCase.java:611) > [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:148) > [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50) > [junit] > [junit] > [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 11.699 sec > {noformat} > Other traces: > {noformat} > [junit] Testsuite: org.apache.lucene.util.fst.TestFSTs > [junit] Testcase: testRealTerms(org.apache.lucene.util.fst.TestFSTs): Caused an ERROR > [junit] Java heap space > [junit] java.lang.OutOfMemoryError: Java heap space > [junit] at org.apache.lucene.util.ArrayUtil.grow(ArrayUtil.java:338) > [junit] at org.apache.lucene.util.fst.FST$BytesWriter.writeBytes(FST.java:927) > [junit] at org.apache.lucene.util.fst.ByteSequenceOutputs.write(ByteSequenceOutputs.java:113) > [junit] at org.apache.lucene.util.fst.ByteSequenceOutputs.write(ByteSequenceOutputs.java:32) > [junit] at org.apache.lucene.util.fst.FST.addNode(FST.java:451) > [junit] at org.apache.lucene.util.fst.NodeHash.add(NodeHash.java:122) > [junit] at org.apache.lucene.util.fst.Builder.compileNode(Builder.java:180) > [junit] at org.apache.lucene.util.fst.Builder.finish(Builder.java:495) > [junit] at org.apache.lucene.index.codecs.memory.MemoryCodec$TermsWriter.finish(MemoryCodec.java:232) > [junit] at org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:414) > [junit] at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:92) > [junit] at org.apache.lucene.index.TermsHash.flush(TermsHash.java:117) > [junit] at org.apache.lucene.index.DocInverter.flush(DocInverter.java:80) > [junit] at org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:78) > [junit] at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:472) > [junit] at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:420) > [junit] at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:568) > [junit] at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:366) > [junit] at org.apache.lucene.index.IndexReader.open(IndexReader.java:317) > [junit] at org.apache.lucene.util.fst.TestFSTs.testRealTerms(TestFSTs.java:1034) > [junit] at org.apache.lucene.util.LuceneTestCase$2$1.evaluate(LuceneTestCase.java:611) > {noformat} > or: > {noformat} > [junit] Testsuite: org.apache.lucene.util.automaton.TestCompiledAutomaton > [junit] Testcase: testRandom(org.apache.lucene.util.automaton.TestCompiledAutomaton): Caused an ERROR > [junit] Java heap space > [junit] java.lang.OutOfMemoryError: Java heap space > [junit] at org.apache.lucene.util.automaton.RunAutomaton.(RunAutomaton.java:128) > [junit] at org.apache.lucene.util.automaton.ByteRunAutomaton.(ByteRunAutomaton.java:28) > [junit] at org.apache.lucene.util.automaton.CompiledAutomaton.(CompiledAutomaton.java:134) > [junit] at org.apache.lucene.util.automaton.TestCompiledAutomaton.build(TestCompiledAutomaton.java:39) > [junit] at org.apache.lucene.util.automaton.TestCompiledAutomaton.testTerms(TestCompiledAutomaton.java:55) > [junit] at org.apache.lucene.util.automaton.TestCompiledAutomaton.testRandom(TestCompiledAutomaton.java:101) > [junit] at org.apache.lucene.util.LuceneTestCase$2$1.evaluate(LuceneTestCase.java:611) > [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:148) > [junit] at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50) > {noformat} > Almost every nightly test fails, history: [https://builds.apache.org/job/Lucene-trunk] > We should maybe raise the max heap space or reduce doc counts/... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org