Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 27267 invoked from network); 16 Apr 2010 22:55:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Apr 2010 22:55:49 -0000 Received: (qmail 15889 invoked by uid 500); 16 Apr 2010 22:55:47 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 15623 invoked by uid 500); 16 Apr 2010 22:55:47 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 15607 invoked by uid 99); 16 Apr 2010 22:55:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Apr 2010 22:55:47 +0000 X-ASF-Spam-Status: No, hits=-1302.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Apr 2010 22:55:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3GMtPp7008654 for ; Fri, 16 Apr 2010 18:55:25 -0400 (EDT) Message-ID: <15744554.20171271458525807.JavaMail.jira@thor> Date: Fri, 16 Apr 2010 18:55:25 -0400 (EDT) From: "Shivender Devarakonda (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Issue Comment Edited: (LUCENE-2376) java.lang.OutOfMemoryError:Java heap space In-Reply-To: <837866002.33891270608693521.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858047#action_12858047 ] Shivender Devarakonda edited comment on LUCENE-2376 at 4/16/10 6:54 PM: ------------------------------------------------------------------------ Hi, I reached to the development team that is actually creating these unique fields. they may revisit their redesign. I have a question what is the entry in the "CheckIndex" output refers to Unique index fields? Thanks, Shivender was (Author: shivenderd): Hi, I reached to the development team that is actually creating these unique fields. they may revisit their redesign. I have a question what is the entry in the checkoutput text refers to Unique index fields? Thanks, Shivender > java.lang.OutOfMemoryError:Java heap space > ------------------------------------------ > > Key: LUCENE-2376 > URL: https://issues.apache.org/jira/browse/LUCENE-2376 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Affects Versions: 2.9.1 > Environment: Windows > Reporter: Shivender Devarakonda > Attachments: CheckIndex_JavaHeapOOM.txt, CheckIndex_PermGenSpaceOOM.txt, InfoStreamOutput.txt > > > I see an OutOfMemory error in our product and it is happening when we have some data objects on which we built the index. I see the following OutOfmemory error, this is happening after we call Indexwriter.optimize(): > 4/06/10 02:03:42.160 PM PDT [ERROR] [Lucene Merge Thread #12] In thread Lucene Merge Thread #12 and the message is org.apache.lucene.index.MergePolicy$MergeException: java.lang.OutOfMemoryError: Java heap space > 4/06/10 02:03:42.207 PM PDT [VERBOSE] [Lucene Merge Thread #12] [Manager] Uncaught Exception in thread Lucene Merge Thread #12 > org.apache.lucene.index.MergePolicy$MergeException: java.lang.OutOfMemoryError: Java heap space > at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:351) > at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:315) > Caused by: java.lang.OutOfMemoryError: Java heap space > at java.util.HashMap.resize(HashMap.java:462) > at java.util.HashMap.addEntry(HashMap.java:755) > at java.util.HashMap.put(HashMap.java:385) > at org.apache.lucene.index.FieldInfos.addInternal(FieldInfos.java:256) > at org.apache.lucene.index.FieldInfos.read(FieldInfos.java:366) > at org.apache.lucene.index.FieldInfos.(FieldInfos.java:71) > at org.apache.lucene.index.SegmentReader$CoreReaders.(SegmentReader.java:116) > at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:638) > at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:608) > at org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:686) > at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4979) > at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4614) > at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:235) > at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:291) > 4/06/10 02:03:42.895 PM PDT [ERROR] this writer hit an OutOfMemoryError; cannot complete optimize -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org