title: java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
body: <p>I am working on indexing around 3 TB of data into apache solr. I am getting below error in my tomcat logs when the data size reached 14 GB. Is it possible to troubleshoot it? I am planning to  move my index later to solr cloud. </p>
  
  <pre><code>&gt; SEVERE: Servlet.service() for servlet [default] in context with path
  &gt; [/solr] threw exception java.lang.IllegalStateException: Cannot call
  &gt; sendError() after the response has been committed
  &gt;         at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:451)
  &gt;         at org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:757)
  &gt;         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:438)
  &gt;         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:201)
  &gt;         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  &gt;         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  &gt;         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
  &gt;         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
  &gt;         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
  &gt;         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
  &gt;         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
  &gt;         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  &gt;         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
  &gt;         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
  &gt;         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
  &gt;         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
  &gt;         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  &gt;         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  &gt;         at java.lang.Thread.run(Thread.java:662)
  </code></pre>