Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-110

Out of Memory Error during Maven Compilation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Incomplete
    • None
    • None
    • None
    • AIX 5.3 ,JDK 1.4 , Maven 2.0.4

    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

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            nitinjain453 NITIN
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: