lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis.gospodne...@gmail.com>
Subject Re: java.io.IOException: Map failed :: OutOfMemory
Date Mon, 12 Nov 2012 23:32:20 GMT
Hi,

Which version of Solr?

Otis
--
Performance Monitoring - http://sematext.com/spm
On Nov 12, 2012 12:08 PM, "uwe72" <uwe.clement@exxcellent.de> wrote:

> While adding lucene document we got this problem: What can we do here?
>
>
> Nov 12, 2012 3:25:09 PM org.apache.solr.update.DirectUpdateHandler2 commit
> INFO: start
>
> commit(optimize=false,waitFlush=true,waitSearcher=true,expungeDeletes=false)
> Exception in thread "Lucene Merge Thread #0"
> org.apache.lucene.index.MergePolicy$MergeException: java.io.IOException:
> Map
> failed
>         at
>
> org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:509)
>         at
>
> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:482)
> Caused by: java.io.IOException: Map failed
>         at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:748)
>         at
>
> org.apache.lucene.store.MMapDirectory$MMapIndexInput.<init>(MMapDirectory.java:270)
>         at
> org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:220)
>         at
> org.apache.lucene.index.TermVectorsReader.<init>(TermVectorsReader.java:87)
>         at
>
> org.apache.lucene.index.SegmentCoreReaders.openDocStores(SegmentCoreReaders.java:243)
>         at
> org.apache.lucene.index.SegmentReader.get(SegmentReader.java:118)
>         at
> org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:696)
>         at
> org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4238)
>         at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3908)
>         at
>
> org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:388)
>         at
>
> org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:456)
> Caused by: java.lang.OutOfMemoryError: Map failed
>         at sun.nio.ch.FileChannelImpl.map0(Native Method)
>         at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745)
>         ... 10 more
> Nov 12, 2012 3:25:11 PM org.apache.solr.core.SolrDeletionPolicy onCommit
> INFO: SolrDeletionPolicy.onCommit: commits:num=2
>
>
>
>
> Nov 12, 2012 5:16:41 PM org.apache.solr.update.SolrIndexWriter finalize
> SEVERE: SolrIndexWriter was not closed prior to finalize(), indicates a bug
> -- POSSIBLE RESOURCE LEAK!!!
> Nov 12, 2012 5:16:41 PM org.apache.solr.update.SolrIndexWriter finalize
> SEVERE: SolrIndexWriter was not closed prior to finalize(), indicates a bug
> -- POSSIBLE RESOURCE LEAK!!!
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/java-io-IOException-Map-failed-OutOfMemory-tp4019802.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message