Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Incomplete
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:AIX 5.3 ,JDK 1.4 , Maven 2.0.4
-
Number of attachments :
Description
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
- panic: JVMCL052: Cannot allocate memory in initializeHeap for heap segment
-
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
please add the version of the compiler plugin you are using.
additionally please note that if you are forking the javac execution, MAVEN_OPTS setting has no effect on the forked process.
2.0.4 is also rather old maven to use.