Howdy all,

I'm running into a problem where for a search that returns a relatively high
number of results (a few hundred), I'm running into an OutOfMemoryError. I
tried killing all faceting and also not specifying a sort, in hopes that
that would help, but no luck so far. I've read on this list and elsewhere
that sorting by fields has well-defined memory implications - is that true
for relevance sorting as well? Also, is there a way to tell Solr not to
attempt any sorting at all?

In case it helps, here's the greatest hits from the stack trace:

Java heap space
java.lang.OutOfMemoryError (Java_heap_space)
at org.apache.lucene.util.PriorityQueue.initialize() [PriorityQueue.java:36]
at org.apache.solr.search.ScorePriorityQueue.init()
[SolrIndexSearcher.java:1466]
at org.apache.solr.search.SolrIndexSearcher.getDocListAndSetNC()
[SolrIndexSearcher.java:1059]
at org.apache.solr.search.SolrIndexSearcher.getDocListC()
[SolrIndexSearcher.java:801]
at org.apache.solr.search.SolrIndexSearcher.getDocListAndSet()
[SolrIndexSearcher.java:1237]
at org.apache.solr.request.StandardRequestHandler.handleRequestBody()
[StandardRequestHandler.java:117]
at org.apache.solr.handler.RequestHandlerBase.handleRequest()
[RequestHandlerBase.java:77]
at org.apache.solr.core.SolrCore.execute() [SolrCore.java:658]
at org.apache.solr.servlet.SolrDispatchFilter.execute()
[SolrDispatchFilter.java:191]
at org.apache.solr.servlet.SolrDispatchFilter.doFilter()
[SolrDispatchFilter.java:159]
at org.mortbay.jetty.servlet.ServletHandler

Any help much appreciated - thank you!
-- 
View this message in context: 
http://www.nabble.com/Memory-implications-for-default-%28score%29-search-tp22465820p22465820.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to