On Fri, Jul 22, 2011 at 9:44 AM, Yonik Seeley
<yo...@lucidimagination.com> wrote:
>> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64
>
> I'm confused why MMapDirectory is getting used with the IBM JVM... I
> had thought it would default to NIOFSDirectory on Linux w/ a non
> Oracle JVM.

I verified that the MMapDirectory is selected by default with the IBM
JVM (it must also contain the right Sun internal classes).

Anyone else have experience with MMapDirectory w/ IBM's JVM?

-Yonik
http://www.lucidimagination.com


> Are you specifically selecting MMapDirectory in solrconfig.xml?
>
> Can you try the Oracle JVM to see if that changes things?
>
> -Yonik
> http://www.lucidimagination.com
>
>
>
> On Fri, Jul 22, 2011 at 5:58 AM, mdz-munich
> <sebastian.lu...@bsb-muenchen.de> wrote:
>> I was wrong.
>>
>> After rebooting tomcat we discovered a new sweetness:
>>
>> /SEVERE: REFCOUNT ERROR: unreferenced org.apache.solr.core.SolrCore@3c753c75
>> (core.name) has a reference count of 1
>> 22.07.2011 11:52:07 org.apache.solr.common.SolrException log
>> SEVERE: java.lang.RuntimeException: java.io.IOException: Map failed
>>        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1099)
>>        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:585)
>>        at org.apache.solr.core.CoreContainer.create(CoreContainer.java:463)
>>        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
>>        at org.apache.solr.core.CoreContainer.load(CoreContainer.java:207)
>>        at
>> org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
>>        at
>> org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
>>        at
>> org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)
>>        at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)
>>        at
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)
>>        at
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:98)
>>        at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4584)
>>        at
>> org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5262)
>>        at
>> org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5257)
>>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
>>        at java.util.concurrent.FutureTask.run(FutureTask.java:149)
>>        at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>>        at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>>        at java.lang.Thread.run(Thread.java:736)
>> Caused by: java.io.IOException: Map failed
>>        at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:782)
>>        at
>> org.apache.lucene.store.MMapDirectory$MMapIndexInput.<init>(MMapDirectory.java:264)
>>        at 
>> org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:216)
>>        at org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:129)
>>        at
>> org.apache.lucene.index.SegmentCoreReaders.openDocStores(SegmentCoreReaders.java:244)
>>        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:116)
>>        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:92)
>>        at 
>> org.apache.lucene.index.DirectoryReader.<init>(DirectoryReader.java:113)
>>        at
>> org.apache.lucene.index.ReadOnlyDirectoryReader.<init>(ReadOnlyDirectoryReader.java:29)
>>        at
>> org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:81)
>>        at
>> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:750)
>>        at 
>> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:75)
>>        at org.apache.lucene.index.IndexReader.open(IndexReader.java:428)
>>        at org.apache.lucene.index.IndexReader.open(IndexReader.java:371)
>>        at
>> org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
>>        at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1088)
>>        ... 18 more
>> Caused by: java.lang.OutOfMemoryError: Map failed
>>        at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:779)
>>        ... 33 more/
>>
>> Any ideas and/or suggestions?
>>
>> Best regards & thank you,
>>
>> Sebastian
>>
>> --
>> View this message in context: 
>> http://lucene.472066.n3.nabble.com/Solr-3-3-Exception-in-thread-Lucene-Merge-Thread-1-tp3185248p3190976.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>

Reply via email to