Out of Memory Error during Maven Compilation --------------------------------------------
Key: MCOMPILER-110 URL: http://jira.codehaus.org/browse/MCOMPILER-110 Project: Maven 2.x Compiler Plugin Issue Type: Bug Environment: AIX 5.3 ,JDK 1.4 , Maven 2.0.4 Reporter: NITIN Priority: Critical In our project we use Maven to do build We use command mvn -Dmaven.test.skip=false -Dqm.skip=false clean install We have set the max MAVEN_OPTS=-Xmx2000M in <Maven_Home>/maven/maven-2.0.4/bin/mvn file Still we get This error Date: Thu Nov 12 16:38:38 IST 2009 VBuild Started...... Thu Nov 12 16:38:38 IST 2009 Pom Updation ..... Dope Upload .... Compilation starts.... Compilation outputs will be redirected to Log12112009.out file .... JVMDBG004: calloc failed to allocate an array of 1 elements at 32768 bytes each, time: Thu Nov 12 16:54:55 2009 JVMDBG001: malloc failed to allocate 100016 bytes, time: Thu Nov 12 16:54:55 2009 **Out of memory, aborting** *** panic: JVMCL052: Cannot allocate memory in initializeHeap for heap segment JVMDG217: Dump Handler is Processing Signal 6 - Please Wait. JVMDBG001: malloc failed to allocate 2621440 bytes, time: Thu Nov 12 16:54:55 2009 JVMDBG001: malloc failed to allocate 2097152 bytes, time: Thu Nov 12 16:54:55 2009 JVMDBG001: malloc failed to allocate 1572864 bytes, time: Thu Nov 12 16:54:55 2009 JVMDBG001: malloc failed to allocate 1048576 bytes, time: Thu Nov 12 16:54:55 2009 JVMDBG001: malloc failed to allocate 524288 bytes, time: Thu Nov 12 16:54:55 2009 JVMDG305: Java core not written, unable to allocate memory for print buffer. JVMDG215: Dump Handler has Processed Error Signal 6. runVBuild.sh[37]: 2715768 IOT/Abort trap(coredump) Thu Nov 12 16:55:43 IST 2009 Compilation Done: false Ear Creation Task FAILED Bcz of Compilation Error Script Execution Done -- 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