Nicolae, You may be able to figure things out from the heap dump. You'll need to start the JVM like this, for example:
java -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heap ....... Otis -- Sematext is hiring -- http://sematext.com/about/jobs.html?mls Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR ----- Original Message ---- > From: Nicolae Mihalache <xproma...@yahoo.com> > To: solr-user@lucene.apache.org > Sent: Thursday, July 30, 2009 3:54:41 PM > Subject: How to get a stack trace > > Hello, > > I'm a new user of solr but I have worked a bit with Lucene before. I get some > out of memory exception when optimizing the index through Solr and I would > like > to find out why. > However, the only message I get on standard output is: > Jul 30, 2009 9:20:22 PM org.apache.solr.common.SolrException log > SEVERE: java.lang.OutOfMemoryError: Java heap space > > Is there a way to get a stack trace for this exception? I had a look into the > java.util.logging options and didn't find anything. > > My solr runs in some standard configuration inside jetty. > Any suggestion would be appreciated. > > Thanks, > nicolae