java.lang.OutOfMemoryError: Java heap space

mobac | tissieres | 7 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.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at com.sleepycat.je.log.LogUtils.readByteArray()
  2. Berkeley DB Java Edition
    Environment.<init>
    1. com.sleepycat.je.log.LogUtils.readByteArray(LogUtils.java:333)
    2. com.sleepycat.je.tree.IN.readFromLog(IN.java:3438)
    3. com.sleepycat.je.log.entry.INLogEntry.readEntry(INLogEntry.java:96)
    4. com.sleepycat.je.log.LogManager.getLogEntryFromLogSource(LogManager.java:747)
    5. com.sleepycat.je.log.LogManager.getLogEntry(LogManager.java:664)
    6. com.sleepycat.je.tree.IN.fetchTarget(IN.java:1215)
    7. com.sleepycat.je.tree.Tree.searchSubTreeInternal(Tree.java:1893)
    8. com.sleepycat.je.tree.Tree.searchSubTree(Tree.java:1730)
    9. com.sleepycat.je.tree.Tree.search(Tree.java:1606)
    10. com.sleepycat.je.dbi.CursorImpl.searchAndPosition(CursorImpl.java:2053)
    11. com.sleepycat.je.cleaner.UtilizationProfile.getFirstFSLN(UtilizationProfile.java:1186)
    12. com.sleepycat.je.cleaner.UtilizationProfile.populateCache(UtilizationProfile.java:1144)
    13. com.sleepycat.je.recovery.RecoveryManager.recover(RecoveryManager.java:206)
    14. com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:389)
    15. com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:147)
    16. com.sleepycat.je.Environment.<init>(Environment.java:210)
    17. com.sleepycat.je.Environment.<init>(Environment.java:150)
    17 frames
  3. tac.tilestore.berkeleydb
    BerkeleyDbTileStore.putTileData
    1. tac.tilestore.berkeleydb.BerkeleyDbTileStore$TileDatabase.<init>(BerkeleyDbTileStore.java:315)
    2. tac.tilestore.berkeleydb.BerkeleyDbTileStore.getTileDatabase(BerkeleyDbTileStore.java:67)
    3. tac.tilestore.berkeleydb.BerkeleyDbTileStore.putTileData(BerkeleyDbTileStore.java:103)
    3 frames
  4. tac.program.download
    DownloadJob.run
    1. tac.program.download.TileDownLoader.downloadTileAndUpdateStore(TileDownLoader.java:129)
    2. tac.program.download.TileDownLoader.getImage(TileDownLoader.java:75)
    3. tac.program.download.DownloadJob.run(DownloadJob.java:39)
    3 frames
  5. tac.program
    JobDispatcher$WorkerThread.run
    1. tac.program.JobDispatcher$WorkerThread.executeJobs(JobDispatcher.java:170)
    2. tac.program.JobDispatcher$WorkerThread.run(JobDispatcher.java:148)
    2 frames