the second time we had the error java.lang.OutOfMemoryError: PermGen space
and solr stopped responding. we use the default jetty installation with jdk1.6.0_21. after the last time i tried to set the garbage collector "right" these are my settings: -D64 -server -Xms892m -Xmx2048m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-HeapDumpOnOutOfMemoryError -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled as far as i thought, "-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled" should also cleanup the PermGen space. what can we do? ok, at the moment solr is not stopped and is running "all time". maybe we should do a regular (daily) restart, then the problem should be fixed. but how can we adjust the garbage settings, so that the PermGen space is not running out of space... markus