lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject Re: Solr Out of Memory Error
Date Tue, 18 Jan 2011 14:24:04 GMT
Hi

I haven't seen one like this before. Please provide JVM settings and Solr 
version.

Cheers

On Tuesday 18 January 2011 15:08:35 Isan Fulia wrote:
> Hi all,
> I got the following error on solr with m/c configuration 4GB RAM   and
> Intel Dual Core Processor.Can you please  help me out.
> 
> java.lang.OutOfMemoryError: Java heap space
> 2011-01-18 18:00:27.655:WARN::Committed before 500 OutOfMemoryError likely
> caused by the Sun VM Bug described in
> https://issues.apache.org/jira/browse/LUCENE-1566; try calling
> FSDirectory.setReadChunkSize with a a value smaller than the current chunk
> size (2147483647)||java.lang.
> OutOfMemoryError: OutOfMemoryError likely caused by the Sun VM Bug
> described in https://issues.apache.org/jira/browse/LUCENE-1566; try
> calling
> FSDirectory.setReadChunkSize with a a value smaller than the current chunk
> size (2147483647)|?at
> org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDi
> rectory.java:161)|?at
> org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.ja
> va:139)|?at
> org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(Compo
> undFileReader.java:285)|?at
> org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:
> 160)|?at
> org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.jav
> a:39)|?at org.apache.lucene.store.DataInput.readVInt(DataInput.java:86)|?at
> org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:201)|?at
> org.apache.lucene.index.SegmentReader.document(SegmentReader.java:828)|?at
> org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:579)|
> ?at org.apache.lucene.index.IndexReader.document(IndexReader.java:755)|?at
> org.apache.solr.search.SolrIndexReader.document(SolrIndexReader.java:454)|
> ?at
> org.apache.solr.search.SolrIndexSearcher.doc(SolrIndexSearcher.java:431)|?
> at
> org.apache.solr.response.BinaryResponseWriter$Resolver.writeDocList(Binary
> ResponseWriter.java:120)|?at
> org.apache.solr.response.BinaryResponseWriter$Resolver.resolve(BinaryRespo
> nseWriter.java:86)|?at
> org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:143)|?
> at
> org.apache.solr.common.util.JavaBinCodec.writeNamedList(JavaBinCodec.java:
> 133)|?at
> org.apache.solr.common.util.JavaBinCodec.writeKnownType(JavaBinCodec.java:
> 221)|?at
> org.apache.solr.common.util.JavaBinCodec.writeVal(JavaBinCodec.java:138)|?
> at
> org.apache.solr.common.util.JavaBinCodec.marshal(JavaBinCodec.java:87)|?at
> org.apache.solr.response.BinaryResponseWriter.write(BinaryResponseWriter.j
> ava:46)|?at
> org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilte
> r.java:321)|?at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.jav
> a:253)|?at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandl
> er.java:1157)|?at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)|?
> at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216
> )|?at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)|?
> at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)|?
> at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)|?at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCo
> llection.java:230)|?at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:
> 114)|?at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)|?
> at org.mortbay.jetty.Server.handle(Server.java:326)|?at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)|?at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java
> :938)|?at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)|?at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)|?at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)|?at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:2
> 28)|?at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:5
> 82)|Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded|
> 2011-01-18 18:00:27.656:WARN::/solr/ProdContentIndex/select
> java.lang.IllegalStateException: Committed
>         at org.mortbay.jetty.Response.resetBuffer(Response.java:1024)
>         at org.mortbay.jetty.Response.sendError(Response.java:240)
>         at
> org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.jav
> a:361) at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java
> :271) at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle
> r.java:1157) at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>         at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
>         at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCol
> lection.java:230) at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:1
> 14) at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>         at org.mortbay.jetty.Server.handle(Server.java:326)
>         at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>         at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java
> :938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:2
> 28) at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:58
> 2) 2011-01-18 18:04:30.577:WARN::handle failed
> java.lang.OutOfMemoryError: GC overhead limit exceeded
> 
> 
> 
> 
> Thanks,
> Isan.

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Mime
View raw message