gbois wrote:
> 
> I have add this line, in the 'mvn.bat" file of the maven 2 installation
> directory :
> set MAVEN_OPTS = %MAVEN_OPTS% -Xmx1024M
> but no change.
> 

This just gives maven itself more memory. Some of the plugins fork a
sub-process (another Java VM) which means changes to the maven process won't
have any effect on them. The JavaDoc plugin is an example of this or the
Surefire plugin.

It seems that the FindBugs plugin does the same. On the homepage of the
plugin
(http://maven-plugins.sourceforge.net/maven-findbugs-plugin/properties.html),
you can see that it supports the property "maven.findbugs.jvmargs". On
http://www.nabble.com/Findbugs:-java.lang.OutOfMemoryError:-Java-heap-space-t1100202.html,
you can find some more hints.
-- 
View this message in context: 
http://www.nabble.com/FindBugs-and-Out-of-Memory-tf2750137s177.html#a7673144
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to