[ 
https://issues.apache.org/jira/browse/SOLR-12339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shawn Heisey resolved SOLR-12339.
---------------------------------
    Resolution: Invalid

This issue tracker is not a support portal.  Please discuss problems on the 
mailing list or the IRC channel before opening an issue.

OutOfMemoryError exceptions indicate that the mentioned resource pool is not 
large enough and must be increased.  In this case, the mentioned resource is 
the Java heap.  You need to configure Solr with a larger Java heap.  The 
"bin/solr" script that starts Solr 5.0 and later defaults to a heap size of 
512MB, which is very small.  Almost all Solr users will need to increase this 
value to accommodate production index sizes.

> java.lang.OutOfMemoryError: Java heap space
> -------------------------------------------
>
>                 Key: SOLR-12339
>                 URL: https://issues.apache.org/jira/browse/SOLR-12339
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: clients - java
>    Affects Versions: 5.5.3
>            Reporter: JiafengLi
>            Priority: Major
>              Labels: windows
>
> When I query the data, the following error is reported. The query parameters 
> are used as follows. Note that I do not have this problem when I do not have 
> a sort field, and once I add a sort, I will report a memory overflow error.
> QUERY Parameters:====>>>>
> start=0&rows=10&sort=453c5a15e01fc6d17b76c45313e208df+desc&q=solrtableid:"825a64a07ace4843825506bcff605fc6"AND(453c5a15e01fc6d17b76c45313e208df:[*
>  TO *])
>  
> CONFIG INFO:====>>>>
> <fieldType name="date" class="solr.TrieDateField" positionIncrementGap="0" 
> precisionStep="0"/>
> <field name="453c5a15e01fc6d17b76c45313e208df" type="date" 
> multiValued="false" indexed="true" stored="true"/>
>  
>  
> ERROR:====>>>>
> 2018-05-09 10:54:22.968 ERROR (qtp429313384-240) [ x:dmsystem] 
> o.a.s.s.HttpSolrCall null:java.lang.RuntimeException: 
> java.lang.OutOfMemoryError: Java heap space
>  at org.apache.solr.servlet.HttpSolrCall.sendError(HttpSolrCall.java:607)
>  at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:475)
>  at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
>  at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
>  at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
>  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
>  at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>  at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:553)
>  at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>  at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>  at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>  at 
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
>  at 
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
>  at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>  at org.eclipse.jetty.server.Server.handle(Server.java:499)
>  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
>  at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
>  at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
>  at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>  at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>  at java.lang.Thread.run(Thread.java:745)
>  Caused by: java.lang.OutOfMemoryError: Java heap space
> 2018-05-09 10:54:22.969 WARN (qtp429313384-240) [ x:dmsystem] 
> o.e.j.s.ServletHandler Error for /solr/dmsystem/select
>  java.lang.OutOfMemoryError: Java heap space



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to