Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5650

Out of memory when build 3.0 with IBM JDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • buildsystem
    • Security Level: public (Regular issues)
    • None
    • suse 10 sp2
      IBM JDK 1.6 sr8a
      maven 2.2.1

    Description

      [INFO] ------------------------------------------------------------------------
      [INFO] Building Geronimo Plugins, J2EE :: Server
      [INFO] task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean

      {execution: default-clean}

      ]
      [INFO] Deleting file set: /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/plugins/j2ee/j2ee-server/target (included: [**], excluded: [])
      [INFO] [genesis:validate-configuration

      {execution: default}

      ]
      [INFO] [geronimo-property:set-property

      {execution: set-property}

      ]
      [INFO] snapshot org.apache.geronimo.modules:geronimo-j2ee:3.0-SNAPSHOT: checking for updates from jetty.oss.sonatype.org
      [INFO] snapshot org.apache.geronimo.modules:geronimo-j2ee:3.0-SNAPSHOT: checking for updates from openqa-snapshots
      [INFO] snapshot org.apache.geronimo.modules:geronimo-j2ee:3.0-SNAPSHOT: checking for updates from ibm-xxx
      [INFO] snapshot org.apache.geronimo.modules:geronimo-j2ee:3.0-SNAPSHOT: checking for updates from xxx-epr3
      [INFO] snapshot org.apache.geronimo.modules:geronimo-j2ee:3.0-SNAPSHOT: checking for updates from xxx-epr2
      [INFO] snapshot org.apache.geronimo.modules:geronimo-j2ee:3.0-SNAPSHOT: checking for updates from apache.snapshots
      [INFO] [enforcer:enforce

      {execution: default}

      ]
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/plugins/j2ee/j2ee-server/src/main/resources
      [INFO] skip non existing resourceDirectory /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/plugins/j2ee/j2ee-server/src/main/filtered-resources
      [INFO] Copying 3 resources
      [INFO] [car:validate-configuration

      {execution: default-validate-configuration}

      ]
      [INFO] [car:prepare-plan

      {execution: default-prepare-plan}

      ]
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@463a463a
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.OperatingSystemProfileActivator@463a463a
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@39c039c0
      [INFO] Generated: /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/plugins/j2ee/j2ee-server/target/work/plan.xml
      [INFO] [car:verify-no-dependency-change

      {execution: default-verify-no-dependency-change}

      ]
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@463a463a
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.OperatingSystemProfileActivator@463a463a
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@39c039c0
      [INFO] [car:prepare-metadata

      {execution: default-prepare-metadata}

      ]
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@463a463a
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.OperatingSystemProfileActivator@463a463a
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@39c039c0
      [org.apache.geronimo.kernel.repository.Maven2Repository] : Repository root is /home/xxx/.m2/repository
      [INFO] [car:package

      {execution: default-package}

      ]
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@463a463a
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.OperatingSystemProfileActivator@463a463a
      [WARNING] Component returned which is not the same manager. Ignored. component=org.apache.maven.profiles.activation.JdkPrefixProfileActivator@39c039c0
      JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
      JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
      JVMDUMP032I JVM requested Snap dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/Snap.20101018.101855.8030.0001.trc' in response to an event
      JVMDUMP010I Snap dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/Snap.20101018.101855.8030.0001.trc
      JVMDUMP032I JVM requested Snap dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/Snap.20101018.101855.8030.0002.trc' in response to an event
      JVMDUMP010I Snap dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/Snap.20101018.101855.8030.0002.trc
      JVMDUMP032I JVM requested Heap dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/heapdump.20101018.101855.8030.0003.phd' in response to an event
      JVMDUMP010I Heap dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/heapdump.20101018.101855.8030.0003.phd
      JVMDUMP032I JVM requested Java dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/javacore.20101018.101855.8030.0005.txt' in response to an event
      JVMDUMP010I Java dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/javacore.20101018.101855.8030.0005.txt
      JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
      JVMDUMP032I JVM requested Heap dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/heapdump.20101018.101855.8030.0004.phd' in response to an event
      JVMDUMP010I Heap dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/heapdump.20101018.101855.8030.0004.phd
      JVMDUMP032I JVM requested Java dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/javacore.20101018.101855.8030.0006.txt' in response to an event
      JVMDUMP010I Java dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/javacore.20101018.101855.8030.0006.txt
      JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
      Exception in thread "Finalizer thread" java.lang.OutOfMemoryError
      at java.util.zip.ZipFile.close(Native Method)
      at java.util.zip.ZipFile.close(ZipFile.java:371)
      at java.util.zip.ZipFile.finalize(ZipFile.java:401)
      at java.lang.J9VMInternals.runFinalize(J9VMInternals.java:412)
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.
      JVMDUMP032I JVM requested Snap dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/Snap.20101018.101930.8030.0007.trc' in response to an event
      JVMDUMP010I Snap dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/Snap.20101018.101930.8030.0007.trc
      JVMDUMP032I JVM requested Heap dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/heapdump.20101018.101930.8030.0008.phd' in response to an event
      JVMDUMP010I Heap dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/heapdump.20101018.101930.8030.0008.phd
      JVMDUMP032I JVM requested Java dump using '/home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/javacore.20101018.101930.8030.0009.txt' in response to an event
      JVMDUMP010I Java dump written to /home/xxx/luntbuild-1.5.6/work/xxx-3.0.0.0_server/server/javacore.20101018.101930.8030.0009.txt
      JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
      Exception in thread "Attach handler" java.lang.OutOfMemoryError
      at com.ibm.tools.attach.javaSE.CommonDirectory.waitSemaphore(CommonDirectory.java:254)
      at com.ibm.tools.attach.javaSE.AttachHandler.waitForNotification(AttachHandler.java:282)
      at com.ibm.tools.attach.javaSE.AttachHandler.run(AttachHandler.java:203)
      [INFO] null
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.OutOfMemoryError
      at java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:335)
      at java.lang.StringBuffer.append(StringBuffer.java:201)
      at org.apache.maven.artifact.DefaultArtifact.appendArtifactTypeClassifierString(DefaultArtifact.java:239)
      at org.apache.maven.artifact.DefaultArtifact.toString(DefaultArtifact.java:312)
      at java.lang.String.valueOf(String.java:1511)
      at java.lang.StringBuffer.append(StringBuffer.java:187)
      at org.apache.maven.shared.dependency.tree.DependencyTreeResolutionListener.omitForNearer(DependencyTreeResolutionListener.java:179)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.fireEvent(DefaultArtifactCollector.java:552)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.fireEvent(DefaultArtifactCollector.java:527)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:266)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
      at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
      at org.apache.geronimo.mavenplugins.car.AbstractCarMojo.getDependencies(AbstractCarMojo.java:321)
      at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:220)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:600)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 13 minutes 3 seconds
      [INFO] Finished at: Mon Oct 18 10:19:49 GMT+08:00 2010
      [INFO] Final Memory: 505M/512M
      [INFO] ------------------------------------------------------------------------

      Attachments

        1. java.util.jar.harmony
          425 kB
          Lei Wang

        Activity

          People

            rwonly Lei Wang
            rwonly Lei Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: