[ http://jira.codehaus.org/browse/MCOMPILER-5?page=comments#action_60956 ]
Carlos Sanchez commented on MCOMPILER-5: ---------------------------------------- Please run maven with -X to get more relevant output fork should work, if not please open a jira issue > OOM in reactor build and javac > ------------------------------ > > Key: MCOMPILER-5 > URL: http://jira.codehaus.org/browse/MCOMPILER-5 > Project: Maven 2.x Compiler Plugin > Type: Bug > 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