Hi Wayne,

thanks for the reply!!!!

Checkstyle + Other reporting plugin's are not to blame here :) I've no doubt
they need the extra memory. However, it's not being given to them. I
have "set MAVEN_OPTS=-Xms256m -Xmx1024m -XX:MaxPermSize=256" in mvn.bat,
this does not fix the problem (not even on my machine). Plus I'd like a more
portable solution if possible.
Someone said that the reporting processes fork, and this would drop
the MAVEN_OPTS JXM settings. I can't say if this is actually true or not.


Still stuck on this, more help would be great :)
--AH


On Thu, Apr 2, 2009 at 3:44 PM, Wayne Fay <[email protected]> wrote:

> > java.lang.OutOfMemoryError: Java heap space
> >        at java.util.Arrays.copyOf(Arrays.java:2882)
> >        at
> >
> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
>
> What about this makes you think checkstyle is to blame?
>
> >        <artifactId>maven-checkstyle-plugin</artifactId>
> >          <argLine>-Xmx512m -Xms128m</argLine>
>
> Did you try bumping those numbers higher, say 768m or 1024m?
>
> Have you tried configuring things via MAVEN_OPTS? I know you want a
> solution that "works everywhere", but until you solve it on your PC,
> there's little point in worrying about the others, right?
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to