java.lang.OutOfMemoryError: Cannot allocate memory

Oracle Community | user567421 | 10 years 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

    In-Memory Logging

    Oracle Community | 10 years ago | user567421
    java.lang.OutOfMemoryError: Cannot allocate memory
  2. 0

    [solved] multithreadied and persistent putDocument

    Oracle Community | 7 years ago | 718317
    java.lang.OutOfMemoryError: Cannot allocate memory: Unable to allocate memory for transaction detail * at com.sleepycat.db.internal.db_javaJNI.DbEnv_txn_begin(Native Method) [db.jar:na]

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Cannot allocate memory

      at com.sleepycat.db.internal.db_javaJNI.DbEnv_txn_begin()
    2. com.sleepycat.db
      DbEnv.txn_begin
      1. com.sleepycat.db.internal.db_javaJNI.DbEnv_txn_begin(Native Method)
      2. com.sleepycat.db.internal.DbEnv.txn_begin(DbEnv.java:451)
      2 frames
    3. Lucene Contrib bdb
      Environment.beginTransaction
      1. com.sleepycat.db.TransactionConfig.beginTransaction(TransactionConfig.java:117)
      2. com.sleepycat.db.Environment.beginTransaction(Environment.java:320)
      2 frames