java.lang.OutOfMemoryError

Java heap space

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6456

  • via Google Groups by deepak singh, 6 months ago
    Java heap space* *java.lang.OutOfMemoryError: Java heap space*
  • via ow2.org by Unknown author, 1 year ago
    Java heap space>java.lang.OutOfMemoryError: Java heap space
  • via GitHub by selriam
    , 11 months ago
    Java heap space
  • Stack trace

    • java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2786)[na:1.6.0_27] at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)[na:1.6.0_27] at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)[na:1.6.0_27] at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:263)[na:1.6.0_27] at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106)[na:1.6.0_27] at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:116)[na:1.6.0_27] at java.io.OutputStreamWriter.write(OutputStreamWriter.java:203)[na:1.6.0_27] at java.io.Writer.write(Writer.java:140)[na:1.6.0_27] at org.codehaus.plexus.util.xml.pull.MXSerializer.writeAttributeValue(MXSerializer.java:880)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.pull.MXSerializer.attribute(MXSerializer.java:663)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.SerializerXMLWriter.addAttribute(SerializerXMLWriter.java:67)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.Xpp3DomWriter.write(Xpp3DomWriter.java:50)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.Xpp3DomWriter.write(Xpp3DomWriter.java:55)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.Xpp3DomWriter.write(Xpp3DomWriter.java:55)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.Xpp3DomWriter.write(Xpp3DomWriter.java:55)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.Xpp3DomWriter.write(Xpp3DomWriter.java:55)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.Xpp3DomWriter.write(Xpp3DomWriter.java:39)[plexus-utils-2.1.jar:na] at org.codehaus.plexus.util.xml.Xpp3Dom.writeToSerializer(Xpp3Dom.java:291)[plexus-utils-2.1.jar:na] at org.sonatype.nexus.plugins.p2.repository.metadata.AbstractP2MetadataSource.createMetadataItem(AbstractP2MetadataSource.java:105)[na:na] at org.sonatype.nexus.plugins.p2.repository.metadata.AbstractP2MetadataSource.createMetadataItem(AbstractP2MetadataSource.java:80)[na:na] at org.sonatype.nexus.plugins.p2.repository.metadata.AbstractP2MetadataSource.doRetrieveContentItem(AbstractP2MetadataSource.java:492)[na:na] at org.sonatype.nexus.plugins.p2.repository.metadata.AbstractP2MetadataSource.doRetrieveItem(AbstractP2MetadataSource.java:214)[na:na] at org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepositoryImpl.doRetrieveItem(P2ProxyRepositoryImpl.java:444)[na:na] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:769)[nexus-proxy-2.0.3.jar:na] at org.sonatype.nexus.plugins.p2.repository.proxy.P2ProxyRepositoryImpl.retrieveItem(P2ProxyRepositoryImpl.java:417)[na:na] at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:584)[nexus-proxy-2.0.3.jar:na] at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:183)[nexus-proxy-2.0.3.jar:na] at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:139)[nexus-rest-api-2.0.3.jar:na] at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:249)[plexus-restlet-bridge-1.18.jar:na] at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:44)[nexus-rest-api-2.0.3.jar:na] at org.restlet.resource.Resource.getRepresentation(Resource.java:302)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na] at org.restlet.resource.Resource.handleGet(Resource.java:464)[org.restlet-1.1.6-SONATYPE-5348-V4.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 weeks ago
    Once, 1 month ago
    Once, 1 month ago
    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 1 month ago
    50 more bugmates