Your heap may be just too small or you may have a memory leak. A stack trace may not help you since the thread encountered the OutOfMemoryError may not be where the memory leak is. A heap dump will tell you what's using up all the memory in your heap. Bill
On Thu, Jul 30, 2009 at 3:54 PM, Nicolae Mihalache <xproma...@yahoo.com>wrote: > 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 > > > >