Re: java.lang.OutOfMemoryError: PermGen space when reopening solr server

2010-09-02 Thread Luke Tebbs
Antonio Calo' wrote: Il 02/09/2010 8.51, Lance Norskog ha scritto: Loading a servlet creates a bunch of classes via reflection. These are in PermGen and never go away. If you load&unload over and over again, any PermGen setting will fill up. I agree , taking a look to all the links suggested by

Re: java.lang.OutOfMemoryError: PermGen space when reopening solr server

2010-09-02 Thread Luke Tebbs
I agree. I wasn't proposing it as a fix merely as a means to reduce the time between restarts. Luke Lance Norskog wrote: Loading a servlet creates a bunch of classes via reflection. These are in PermGen and never go away. If you load&unload over and over again, any PermGen setting will fill

Re: java.lang.OutOfMemoryError: PermGen space when reopening solr server

2010-09-02 Thread Antonio Calo'
Il 02/09/2010 8.51, Lance Norskog ha scritto: Loading a servlet creates a bunch of classes via reflection. These are in PermGen and never go away. If you load&unload over and over again, any PermGen setting will fill up. I agree , taking a look to all the links suggested by Peter seems that thi

Re: java.lang.OutOfMemoryError: PermGen space when reopening solr server

2010-09-02 Thread Peter Karich
Hi, that issue is not really related to solr. See this: http://stackoverflow.com/questions/88235/how-to-deal-with-java-lang-outofmemoryerror-permgen-space-error Increasing maxpermsize -XX:MaxPermSize=128m does not really solve this issue but you will see less errros :-) I have written a mini mon

Re: java.lang.OutOfMemoryError: PermGen space when reopening solr server

2010-09-01 Thread Lance Norskog
Loading a servlet creates a bunch of classes via reflection. These are in PermGen and never go away. If you load&unload over and over again, any PermGen setting will fill up. On Wed, Sep 1, 2010 at 2:23 PM, Luke Tebbs wrote: > > Have you tried to up the MaxHeapSize? > > I tend to run solr and the

Re: java.lang.OutOfMemoryError: PermGen space when reopening solr server

2010-09-01 Thread Luke Tebbs
Have you tried to up the MaxHeapSize? I tend to run solr and the development instance in a separate jetty (on a separate port) and actually restart the web server for the dev application every now and again. It doesn't take too long if you only have one webapp on jetty - I tend to use mvn jet

java.lang.OutOfMemoryError: PermGen space when reopening solr server

2010-09-01 Thread Antonio Calo'
Hi guys I'm facing an error in our production environment with our search application based on maven with spring + solrj. When I try to change a class, or try to redeploy/restart an application, I catch a java.lang.OutOfMemoryError: PermGen I've tryed to understand the cause of this and al

java.lang.OutOfMemoryError: PermGen space when reopening solr server

2010-09-01 Thread Antonio Calo'
Hi guys I'm facing an error in our production environment with our search application based on maven with spring + solrj. When I try to change a class, or try to redeploy/restart an application, I catch a java.lang.OutOfMemoryError: PermGen I've tryed to understand the cause of this and al