You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "mike perham (JIRA)" <ji...@codehaus.org> on 2005/11/10 21:11:06 UTC

[jira] Created: (MNG-1503) OOM in reactor build and javac

OOM in reactor build and javac
------------------------------

         Key: MNG-1503
         URL: http://jira.codehaus.org/browse/MNG-1503
     Project: Maven 2
        Type: Bug
  Components: maven-compiler-plugin  
    Versions: 2.0    
 Environment: Windows JDK 1.4.2
    Reporter: mike perham


We are seeing a OOM error when running a medium-sized reactor build (approx 15 projects).  After about 10 modules, the javac plugin fails with an OOM in a module that actually has just a single java file.  Forking the VM actually leads to an immediate error in the first module so I assume forking does not work currently.

Setting the max heap memory by using set MAVEN_OPTS=-Xmx512m has no visible effect.


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError


[INFO] --------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] --------------------------------------------------
[INFO] Total time: 4 minutes 16 seconds
[INFO] Finished at: Thu Nov 10 14:00:27 CST 2005
[INFO] Final Memory: 63M/140M
[INFO] --------------------------------------------------


I realize there is not a lot of info here.  Please let me know how I can supply more specific information for you.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org