Howdy,
I consistently hit OutOfMemoryException's with site:site and require a
solution.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Java heap space
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
I have seen solutions that require the following to be added to mvn.bat (or
mvn on *nix). I tried this, it did not work. Also I have a problem with this
solution as it resolves the issue on my machine only. It fails to resolve
the issue for the rest of my team.
Even this causes the exception to be raised...
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<!-- version>2.2</version -->
<configuration>
<argLine>-Xmx512m -Xms128m</argLine>
</configuration>
</plugin>
</plugins>
<reporting>
I'd really appreciate some help, this has been buggin me for almost two days
now :'(
Cheers,
AH