java.lang.OutOfMemoryError: Java heap space

GitHub | syin2 | 7 months 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

    Grails User (Old Archive) - grails out of memory

    nabble.com | 9 months ago
    java.lang.OutOfMemoryError: Java heap space
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java c3p0 OutOfMemoryError PermGen space

    Stack Overflow | 4 years ago | phpxiaoxin
    java.lang.OutOfMemoryError: PermGen space

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.lang.Class.getDeclaredMethods0()
    2. Java RT
      Class.getMethod
      1. java.lang.Class.getDeclaredMethods0(Native Method)
      2. java.lang.Class.privateGetDeclaredMethods(Class.java:2575)
      3. java.lang.Class.getMethod0(Class.java:2816)
      4. java.lang.Class.getMethod(Class.java:1665)
      4 frames
    3. Gson
      Gson.fromJson
      1. com.google.gson.internal.UnsafeAllocator.create(UnsafeAllocator.java:43)
      2. com.google.gson.internal.ConstructorConstructor$8.<init>(ConstructorConstructor.java:160)
      3. com.google.gson.internal.ConstructorConstructor.newUnsafeAllocator(ConstructorConstructor.java:159)
      4. com.google.gson.internal.ConstructorConstructor.get(ConstructorConstructor.java:77)
      5. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:71)
      6. com.google.gson.Gson.getAdapter(Gson.java:353)
      7. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:82)
      8. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:81)
      9. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:118)
      10. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:72)
      11. com.google.gson.Gson.getAdapter(Gson.java:353)
      12. com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:52)
      13. com.google.gson.Gson.getAdapter(Gson.java:353)
      14. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:82)
      15. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:81)
      16. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:118)
      17. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:72)
      18. com.google.gson.Gson.getAdapter(Gson.java:353)
      19. com.google.gson.Gson.fromJson(Gson.java:794)
      20. com.google.gson.Gson.fromJson(Gson.java:761)
      21. com.google.gson.Gson.fromJson(Gson.java:710)
      22. com.google.gson.Gson.fromJson(Gson.java:682)
      22 frames
    4. com.telefonica.iot
      NGSISink.process
      1. com.telefonica.iot.cygnus.sinks.NGSISink.parseEventBody(NGSISink.java:465)
      2. com.telefonica.iot.cygnus.sinks.NGSISink.processNewBatches(NGSISink.java:382)
      3. com.telefonica.iot.cygnus.sinks.NGSISink.process(NGSISink.java:254)
      3 frames
    5. Flume
      SinkRunner$PollingRunner.run
      1. org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:68)
      2. org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:147)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:701)
      1 frame