java.lang.OutOfMemoryError: Java heap space

Oracle Community | ljnelson | 6 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

    "Contains no EJBs"...but it does, and no server.log errors

    Oracle Community | 6 years ago | ljnelson
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at org.objectweb.asm.ClassReader.accept()
    2. Felix iPOJO
      ClassReader.accept
      1. org.objectweb.asm.ClassReader.accept(Unknown Source)
      2. org.objectweb.asm.ClassReader.accept(Unknown Source)
      2 frames
    3. Class Model for Hk2
      Parser$5.on
      1. org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:313)
      1 frame
    4. Kernel Classes
      ReadableArchiveScannerAdapter.onSelectedEntries
      1. com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(ReadableArchiveScannerAdapter.java:102)
      1 frame
    5. Class Model for Hk2
      Parser$3.call
      1. org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:297)
      2. org.glassfish.hk2.classmodel.reflect.Parser.access$200(Parser.java:62)
      3. org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:260)
      4. org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:249)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:680)
      5 frames