Hi Felix,

you should try to increase the PermSize, instead of the memory size.
It's likely that you get this kind of OOM error.

Something like : -WW:PermSize=128M and -XX:MaxPermSize=256M

Sun JVM is stupid enough to default to 64M ...

On Dec 23, 2007 4:17 PM,  <[EMAIL PROTECTED]> wrote:
> Author: felixk
> Date: Sun Dec 23 07:17:54 2007
> New Revision: 606562
>
> URL: http://svn.apache.org/viewvc?rev=606562&view=rev
> Log:
> Remove aggregation again because it's not usable -I run it with 
> MAVEN_OPTS="-Xmx2048m-Xms1024m" on a linux-64bit Quad-Core with 8GB Ram and 
> it's still failing after 11 minutes with java.lang.OutOfMemoryError: Java 
> heap space.
> Even MAVEN_OPTS="-Xmx4096M -Xms2048M" results in the same problem after 11 
> minutes.
>
> Modified:
>     directory/sandbox/felixk/pom.xml
>
> Modified: directory/sandbox/felixk/pom.xml
> URL: 
> http://svn.apache.org/viewvc/directory/sandbox/felixk/pom.xml?rev=606562&r1=606561&r2=606562&view=diff
> ==============================================================================
> --- directory/sandbox/felixk/pom.xml (original)
> +++ directory/sandbox/felixk/pom.xml Sun Dec 23 07:17:54 2007
> @@ -1026,7 +1026,6 @@
>              <plugin>
>                  <artifactId>maven-pmd-plugin</artifactId>
>                  <configuration>
> -                    <aggregate>true</aggregate>
>                      <linkXref>true</linkXref>
>                      <sourceEncoding>utf-8</sourceEncoding>
>                      <minimumTokens>100</minimumTokens>
> @@ -1037,7 +1036,6 @@
>                  <groupId>org.codehaus.mojo</groupId>
>                  <artifactId>taglist-maven-plugin</artifactId>
>                  <configuration>
> -                    <aggregate>true</aggregate>
>                      <tags>
>                          <tag>TODO</tag>
>                          <tag>@todo</tag>
>
>
>



-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to