lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shivender Devarakonda (JIRA)" <>
Subject [jira] Created: (LUCENE-2376) java.lang.OutOfMemoryError:Java heap space
Date Wed, 07 Apr 2010 02:51:33 GMT
java.lang.OutOfMemoryError:Java heap space

                 Key: LUCENE-2376
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.9.1
         Environment: Windows
            Reporter: Shivender Devarakonda

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
	at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(
	at org.apache.lucene.index.ConcurrentMergeScheduler$
Caused by: java.lang.OutOfMemoryError: Java heap space
	at java.util.HashMap.resize(
	at java.util.HashMap.addEntry(
	at java.util.HashMap.put(
	at org.apache.lucene.index.FieldInfos.addInternal(
	at org.apache.lucene.index.FieldInfos.<init>(
	at org.apache.lucene.index.SegmentReader$CoreReaders.<init>(
	at org.apache.lucene.index.SegmentReader.get(
	at org.apache.lucene.index.SegmentReader.get(
	at org.apache.lucene.index.IndexWriter$ReaderPool.get(
	at org.apache.lucene.index.IndexWriter.mergeMiddle(
	at org.apache.lucene.index.IndexWriter.merge(
	at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(
	at org.apache.lucene.index.ConcurrentMergeScheduler$
4/06/10 02:03:42.895 PM PDT [ERROR]  this writer hit an OutOfMemoryError; cannot complete

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message