lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6161) OutOfMemoryError Not Thrown in sendError
Date Sat, 14 Jun 2014 14:47:02 GMT

    [ https://issues.apache.org/jira/browse/SOLR-6161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031583#comment-14031583
] 

ASF subversion and git services commented on SOLR-6161:
-------------------------------------------------------

Commit 1602590 from shalin@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1602590 ]

SOLR-6161: SolrDispatchFilter should throw java.lang.Error back even if wrapped in another
exception

> OutOfMemoryError Not Thrown in sendError
> ----------------------------------------
>
>                 Key: SOLR-6161
>                 URL: https://issues.apache.org/jira/browse/SOLR-6161
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Miklos Christine
>            Assignee: Shalin Shekhar Mangar
>
> We need to handle the OOME thrown here. 
> https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/servlet/SolrDispatchFilter.java#L436
> I experienced this in my solr server logs. 
> ERROR org.apache.solr.servlet.SolrDispatchFilter: null:java.lang.RuntimeException: java.lang.OutOfMemoryError:
Java heap space
>     at org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:775)
>     at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:419)
>     at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:187)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at org.apache.solr.servlet.ProxyUserFilter.doFilter(ProxyUserFilter.java:241)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at org.apache.solr.servlet.SolrHadoopAuthenticationFilter$2.doFilter(SolrHadoopAuthenticationFilter.java:143)
>     at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:384)
>     at org.apache.solr.servlet.SolrHadoopAuthenticationFilter.doFilter(SolrHadoopAuthenticationFilter.java:148)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at org.apache.solr.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
>     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>     at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.OutOfMemoryError: Java heap space
>     at org.apache.lucene.index.DocTermOrds.uninvert(DocTermOrds.java:279)
>     at org.apache.solr.request.UnInvertedField.<init>(UnInvertedField.java:179)
>     at org.apache.solr.request.UnInvertedField.getUnInvertedField(UnInvertedField.java:664)
>     at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:435)
>     at org.apache.solr.handler.component.PivotFacetHelper.doPivots(PivotFacetHelper.java:147)
>     at org.apache.solr.handler.component.PivotFacetHelper.process(PivotFacetHelper.java:90)
>     at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:85)
>     at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:208)
>     at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>     at org.apache.solr.core.SolrCore.execute(SolrCore.java:1947)
>     at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:759)
>     at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:398)
>     at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:187)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at org.apache.solr.servlet.ProxyUserFilter.doFilter(ProxyUserFilter.java:241)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>     at org.apache.solr.servlet.SolrHadoopAuthenticationFilter$2.doFilter(SolrHadoopAuthenticationFilter.java:143)
>     at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:384)
>     at org.apache.solr.servlet.SolrHadoopAuthenticationFilter.doFilter(SolrHadoopAuthenticationFilter.java:148)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message