Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12339

java.lang.OutOfMemoryError: Java heap space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 5.5.3
    • None
    • clients - java

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            布鲁斯李 JiafengLi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: