lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "m.harig" <m.ha...@gmail.com>
Subject Re: Read large size index
Date Mon, 29 Jun 2009 13:31:50 GMT

Thanks again,


       Did i index my files correctly, please need some tips, the following
is the error when i run my keyword , i typed pdf , thats it , because i've
got around 30,000 files named pdf, 


HTTP Status 500 -



type Exception report



message



description The server encountered an internal error () that prevented it
from fulfilling this request.



exception



javax.servlet.ServletException: Servlet execution threw an exception



root cause



java.lang.OutOfMemoryError: Java heap space

	java.util.Arrays.copyOfRange(Unknown Source)

	java.lang.String.<init>(Unknown Source)

	org.apache.lucene.store.IndexInput.readString(IndexInput.java:113)

	org.apache.lucene.index.FieldsReader.addField(FieldsReader.java:324)

	org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:166)

	org.apache.lucene.index.SegmentReader.document(SegmentReader.java:659)

	org.apache.lucene.index.IndexReader.document(IndexReader.java:525)

	org.apache.lucene.search.IndexSearcher.doc(IndexSearcher.java:92)

	org.apache.lucene.search.Hits.doc(Hits.java:167)

	com.npedia.liteSearch.helper.SearchHelper.getResults(SearchHelper.java:103)


com.npedia.liteSearch.servlet.SearchServlet.doProcess(SearchServlet.java:164)

	com.npedia.liteSearch.servlet.SearchServlet.doGet(SearchServlet.java:39)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)



note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.10 logs.

Apache Tomcat/6.0.10
-- 
View this message in context: http://www.nabble.com/Read-large-size-index-tp24251993p24254191.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Mime
View raw message