Don't turn it off, just reduce the rules.  Create a second rule set file,
narrowing to just the critical stuff.  After those are cleaned up, then add
more rules until you are back at the set you want to run.

Mine is: MAVEN_OPTS=-Xmx1024m.  Try increasing your memory size.


-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 08, 2005 4:48 PM
To: Maven Users List
Subject: Re: java.lang.OutOfMemoryError

Trying Maven 1.1 will help, but this is quite common to see.
Checkstyle can be huge.

If your checkstyle report is huge, turn it off. It's not helping you.

- Brett

On 8/9/05, Jeffrey Mutonho <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I'm getting a java.lang.OutOfMemoryError message during build(see 
> exact error below).I set
> 
> MAVEN_OPTS=-Xmx512m;export MAVEN_OPTS  in my  .bash_profile .The 
> machine is a Red Hat Linux Advanced Server release 2.1AS (Pensacola).
> 
> The actual error message says :
> 
>  [echo] Generating
> /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/Exact_Web
> /target/docs/checkstyle-report.html
> from 
> /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/Exact_Web
> /target/generated-xdocs/checkstyle-report.xml
> 
> BUILD FAILED
> File...... 
> /home/jmu016/maven-1.0/projects_main/projects/Safmarine/Cbpt/maven.xml
> Element... m:reactor
> Line...... 53
> Column.... 40
> Unable to obtain goal [exact-build-all] --
> /home/jmu016/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly:360:43:
> <x:parse> java.lang.OutOfMemoryError
> Total time: 65 minutes 24 seconds
> Finished at: Mon Aug 08 14:24:19 SAST 2005
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to