lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhenglin Sun (JIRA)" <>
Subject [jira] [Created] (LUCENE-4144) OOM when call optimize
Date Thu, 14 Jun 2012 02:23:42 GMT
Zhenglin Sun created LUCENE-4144:

             Summary: OOM when call optimize
                 Key: LUCENE-4144
             Project: Lucene - Java
          Issue Type: New Feature
          Components: core/index
    Affects Versions: 2.1
            Reporter: Zhenglin Sun
             Fix For: 2.1

The index file is about 6G, when i update the index, it can work good, but i hit a OOM when
call the method optimize 
Caused by: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 969048, Num
elements: 242258
        at org.apache.lucene.index.TermInfosReader.ensureIndexIsRead(
        at org.apache.lucene.index.TermInfosReader.get(
        at org.apache.lucene.index.IndexReader.termDocs(
        at org.apache.lucene.index.IndexReader.deleteDocuments(
        at org.apache.lucene.index.IndexWriter.applyDeletes(
        at org.apache.lucene.index.IndexWriter.maybeApplyDeletes(
        at org.apache.lucene.index.IndexWriter.mergeSegments(
        at org.apache.lucene.index.IndexWriter.flushRamSegments(
        at org.apache.lucene.index.IndexWriter.maybeFlushRamSegments(
        at org.apache.lucene.index.IndexWriter.updateDocument(
        at org.apache.lucene.index.IndexWriter.updateDocument(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message