lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zqzuk <ziqizh...@hotmail.co.uk>
Subject Re: 170G index, 1.5 billion documents, out of memory on query
Date Tue, 26 Feb 2013 12:22:26 GMT
Hi, the full stack trace is below. 

---------------------
SEVERE: Unable to create core: collection1
org.apache.solr.common.SolrException: Error opening new searcher
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:794)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:607)
	at
org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:1003)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1033)
	at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629)
	at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:624)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
	at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1423)
	at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1535)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:769)
	... 13 more
Caused by: java.io.IOException: Map failed
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:748)
	at org.apache.lucene.store.MMapDirectory.map(MMapDirectory.java:285)
	at
org.apache.lucene.store.MMapDirectory$MMapIndexInput.<init>(MMapDirectory.java:257)
	at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:225)
	at
org.apache.lucene.codecs.lucene41.Lucene41PostingsReader.<init>(Lucene41PostingsReader.java:72)
	at
org.apache.lucene.codecs.lucene41.Lucene41PostingsFormat.fieldsProducer(Lucene41PostingsFormat.java:430)
	at
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:194)
	at
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:233)
	at
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:107)
	at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:57)
	at
org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62)
	at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:783)
	at
org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
	at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:87)
	at
org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:34)
	at
org.apache.solr.search.SolrIndexSearcher.<init>(SolrIndexSearcher.java:123)
	at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1399)
	... 15 more
Caused by: java.lang.OutOfMemoryError: Map failed
	at sun.nio.ch.FileChannelImpl.map0(Native Method)
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745)
	... 31 more
26-Feb-2013 12:20:46 org.apache.solr.common.SolrException log
SEVERE: null:org.apache.solr.common.SolrException: Unable to create core:
collection1
	at
org.apache.solr.core.CoreContainer.recordAndThrow(CoreContainer.java:1654)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1039)
	at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629)
	at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:624)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:794)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:607)
	at
org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:1003)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:1033)
	... 10 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
	at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1423)
	at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1535)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:769)
	... 13 more
Caused by: java.io.IOException: Map failed
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:748)
	at org.apache.lucene.store.MMapDirectory.map(MMapDirectory.java:285)
	at
org.apache.lucene.store.MMapDirectory$MMapIndexInput.<init>(MMapDirectory.java:257)
	at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:225)
	at
org.apache.lucene.codecs.lucene41.Lucene41PostingsReader.<init>(Lucene41PostingsReader.java:72)
	at
org.apache.lucene.codecs.lucene41.Lucene41PostingsFormat.fieldsProducer(Lucene41PostingsFormat.java:430)
	at
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:194)
	at
org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:233)
	at
org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:107)
	at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:57)
	at
org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:62)
	at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:783)
	at
org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:52)
	at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:87)
	at
org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:34)
	at
org.apache.solr.search.SolrIndexSearcher.<init>(SolrIndexSearcher.java:123)
	at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1399)
	... 15 more
Caused by: java.lang.OutOfMemoryError: Map failed
	at sun.nio.ch.FileChannelImpl.map0(Native Method)
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745)
	... 31 more
-------------------------------------------------------------




--
View this message in context: http://lucene.472066.n3.nabble.com/170G-index-1-5-billion-documents-out-of-memory-on-query-tp4042696p4043023.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message