java.lang.OutOfMemoryError: Java heap space

gump-general | gump@vmgump.apache.org | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    BATCH: All dressed up, with nowhere to go...

    gump-general | 4 years ago | gump@vmgump.apache.org
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at aQute.lib.osgi.EmbeddedResource.copy()
    2. aQute
      Builder.build
      1. aQute.lib.osgi.EmbeddedResource.copy(EmbeddedResource.java:59)
      2. aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:51)
      3. aQute.lib.osgi.EmbeddedResource.build(EmbeddedResource.java:33)
      4. aQute.lib.osgi.EmbeddedResource.build(EmbeddedResource.java:71)
      5. aQute.lib.osgi.Verifier.getBundleClassPath(Verifier.java:255)
      6. aQute.lib.osgi.Verifier.<init>(Verifier.java:204)
      7. aQute.lib.osgi.Builder.doVerify(Builder.java:406)
      8. aQute.lib.osgi.Builder.build(Builder.java:99)
      8 frames
    3. Maven Bundle Plugin
      BundlePlugin.execute
      1. org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:375)
      2. org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:270)
      3. org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:224)
      4. org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:215)
      4 frames
    4. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      1 frame
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      8 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      1 frame
    7. org.apache.maven
      CompatibleMain.main
      1. org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    9. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames