lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: 1.4.3 and 64bit support? out of memory??
Date Wed, 08 Mar 2006 19:35:39 GMT

:   i am recieving the following stack trace:
:
:   JVMDUMP013I Processed Dump Event "uncaught", detail "java/lang/OutOfMemoryError".
: Exception in thread "main" java.lang.OutOfMemoryError
:         at org.apache.lucene.index.TermInfosReader.readIndex(TermInfosReader.java:82)

is it possible that parts of your application are eating up all of the
heap in your JVM before this exception is encountered?  Possibly by
opening a the index many times without closing it?

More specifically, if you write a 4 line app that does nothing by open
your index and then close it again, do you get an OOM? ...

	public class Main {
	  public static void main(String[] args) throws Exception {
	    Searcher s = new IndexSearcher("/your/index/path");
	    s.close();
	  }
	}



-Hoss


---------------------------------------------------------------------
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