You might use some analysis tools to see what is causing the classloaders to hang around.
BTW, there is a known issue with jsp: http://docs.codehaus.org/display/JETTY/OutOfMemory+Errors Jan On 17 January 2012 13:54, S Ahmed <sahmed1...@gmail.com> wrote: > After a few compilations (around 5) I got this: > > java.lang.OutOfMemoryError: PermGen space > Exception in thread "Timer-2" java.lang.OutOfMemoryError: PermGen space > > My pom.xml has: > > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > <version>6.1.26</version> > <configuration> > <scanIntervalSeconds>10</scanIntervalSeconds> > <contextPath>/</contextPath> > > </configuration> > > </plugin> > > > Can this be fixed via the pom.xml somehow? > > _______________________________________________ > jetty-users mailing list > jetty-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/jetty-users > _______________________________________________ jetty-users mailing list jetty-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/jetty-users