java.lang.OutOfMemoryError: Java heap space

Oracle Community | 392 Guest | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    net.jxta.impl.endpoint.relay.RelayClient heap error...

    Oracle Community | 8 years ago | 392 Guest
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Need clues and guidance on beginner java challange

    Stack Overflow | 2 years ago
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.util.Arrays.copyOf()
    2. Java RT
      StringBuilder.insert
      1. java.util.Arrays.copyOf(Arrays.java:2882)
      2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
      3. java.lang.AbstractStringBuilder.insert(AbstractStringBuilder.java:1112)
      4. java.lang.StringBuilder.insert(StringBuilder.java:329)
      5. java.lang.StringBuilder.insert(StringBuilder.java:320)
      5 frames
    3. net.jxta.impl
      LiteXMLElement.appendChild
      1. net.jxta.impl.document.LiteXMLElement.appendChild(LiteXMLElement.java:624)
      2. net.jxta.impl.document.LiteXMLElement.appendChild(LiteXMLElement.java:81)
      2 frames
    4. net.jxta.document
      StructuredDocumentUtils.copyElements
      1. net.jxta.document.StructuredDocumentUtils.copyChildren(StructuredDocumentUtils.java:100)
      2. net.jxta.document.StructuredDocumentUtils.copyElements(StructuredDocumentUtils.java:170)
      3. net.jxta.document.StructuredDocumentUtils.copyElements(StructuredDocumentUtils.java:188)
      3 frames
    5. net.jxta.impl
      RelayClient.run
      1. net.jxta.impl.protocol.RouteAdv.getDocument(RouteAdv.java:299)
      2. net.jxta.impl.protocol.ResolverQuery.getDocument(ResolverQuery.java:317)
      3. net.jxta.impl.resolver.ResolverServiceImpl.sendQuery(ResolverServiceImpl.java:528)
      4. net.jxta.impl.resolver.ResolverServiceInterface.sendQuery(ResolverServiceInterface.java:168)
      5. net.jxta.impl.discovery.DiscoveryServiceImpl.getRemoteAdvertisements(DiscoveryServiceImpl.java:361)
      6. net.jxta.impl.discovery.DiscoveryServiceImpl.getRemoteAdvertisements(DiscoveryServiceImpl.java:271)
      7. net.jxta.impl.discovery.DiscoveryServiceInterface.getRemoteAdvertisements(DiscoveryServiceInterface.java:141)
      8. net.jxta.impl.util.RdvAdvSeedingManager.refreshActiveSeeds(RdvAdvSeedingManager.java:133)
      9. net.jxta.impl.util.RdvAdvSeedingManager.getActiveSeedRoutes(RdvAdvSeedingManager.java:217)
      10. net.jxta.impl.util.URISeedingManager.getActiveSeedRoutes(URISeedingManager.java:288)
      11. net.jxta.impl.endpoint.relay.RelayClient.run(RelayClient.java:344)
      11 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame