[jetty-users] mvn jetty:run with scanIntervalSeconds = 10 results in OOM

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jetty-users] mvn jetty:run with scanIntervalSeconds = 10 results in OOM

S Ahmed
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
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] mvn jetty:run with scanIntervalSeconds = 10 results in OOM

Jan Bartel-3
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 <[hidden email]> 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
> [hidden email]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users