| Emmanuel Lecharny 2007-12-23, 1:11 pm |
| 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=3D128M and -XX:MaxPermSize=3D256M
Sun JVM is stupid enough to default to 64M ...
On Dec 23, 2007 4:17 PM, <felixk-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
> Author: felixk
> Date: Sun Dec 23 07:17:54 2007
> New Revision: 606562
>
> URL: http://svn.apache.org/viewvc?rev=3D606562&view=3Drev
> Log:
> Remove aggregation again because it's not usable -I run it with MAVEN_OPT=
S=3D"-Xmx2048m-Xms1024m" on a linux-64bit Quad-Core with 8GB Ram and it's s=
till failing after 11 minutes with java.lang.OutOfMemoryError: Java heap sp=
ace.
> Even MAVEN_OPTS=3D"-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/direct...pom.xml?rev=3D=
606562&r1=3D606561&r2=3D606562&view=3Ddiff
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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>
>
>
>
--=20
Regards,
Cordialement,
Emmanuel L=E9charny
www.iktek.com
|