java.lang.OutOfMemoryError: Java heap space

GitHub | Masek0815 | 1 month 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

    GitHub comment 40#274408567

    GitHub | 1 month ago | Masek0815
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Reduce memory usage

    GitHub | 1 year ago | gelse
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    8 unregistered visitors
    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.util.Arrays.copyOf()
    2. Java RT
      ByteArrayOutputStream.write
      1. java.util.Arrays.copyOf(Arrays.java:3236)
      2. java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
      3. java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
      4. java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
      4 frames
    3. Bouncy Castle OpenPGP API
      BCPGOutputStream.write
      1. org.bouncycastle.bcpg.BCPGOutputStream.partialFlush(Unknown Source)
      2. org.bouncycastle.bcpg.BCPGOutputStream.writePartial(Unknown Source)
      3. org.bouncycastle.bcpg.BCPGOutputStream.write(Unknown Source)
      3 frames
    4. BouncyCastle
      CipherOutputStream.write
      1. org.bouncycastle.crypto.io.CipherOutputStream.write(Unknown Source)
      1 frame
    5. Bouncy Castle OpenPGP API
      BCPGOutputStream.write
      1. org.bouncycastle.openpgp.WrappedGeneratorStream.write(Unknown Source)
      2. org.bouncycastle.bcpg.BCPGOutputStream.write(Unknown Source)
      2 frames
    6. Java RT
      DeflaterOutputStream.write
      1. java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
      2. java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
      2 frames
    7. Bouncy Castle OpenPGP API
      WrappedGeneratorStream.write
      1. org.bouncycastle.openpgp.WrappedGeneratorStream.write(Unknown Source)
      2. org.bouncycastle.bcpg.BCPGOutputStream.partialFlush(Unknown Source)
      3. org.bouncycastle.bcpg.BCPGOutputStream.writePartial(Unknown Source)
      4. org.bouncycastle.bcpg.BCPGOutputStream.write(Unknown Source)
      5. org.bouncycastle.openpgp.WrappedGeneratorStream.write(Unknown Source)
      5 frames
    8. cloudsync.helper
      Handler.getLocalProcessedBinary
      1. cloudsync.helper.Crypt._encryptData(Crypt.java:270)
      2. cloudsync.helper.Crypt.encryptedBinary(Crypt.java:177)
      3. cloudsync.helper.Handler.getLocalProcessedBinary(Handler.java:646)
      3 frames
    9. cloudsync.connector
      RemoteGoogleDriveConnector.upload
      1. cloudsync.connector.RemoteGoogleDriveConnector._prepareDriveItem(RemoteGoogleDriveConnector.java:516)
      2. cloudsync.connector.RemoteGoogleDriveConnector.upload(RemoteGoogleDriveConnector.java:216)
      2 frames
    10. cloudsync.helper
      Handler.backup
      1. cloudsync.helper.Handler.backup(Handler.java:519)
      2. cloudsync.helper.Handler.backup(Handler.java:587)
      3. cloudsync.helper.Handler.backup(Handler.java:587)
      4. cloudsync.helper.Handler.backup(Handler.java:472)
      4 frames
    11. cloudsync
      Cloudsync.main
      1. cloudsync.Cloudsync.start(Cloudsync.java:132)
      2. cloudsync.Cloudsync.main(Cloudsync.java:160)
      2 frames