java.lang.OutOfMemoryError: Failed to allocate a 39474628 byte allocation with 16777216 free bytes and 16MB until OOM

GitHub | swaheed2 | 5 months 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 1483#253990983

    GitHub | 5 months ago | swaheed2
    java.lang.OutOfMemoryError: Failed to allocate a 39474628 byte allocation with 16777216 free bytes and 16MB until OOM
  2. 0

    Sync is causing out of memory errors

    GitHub | 2 years ago | jcamp1
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError 03-02 21:34:02.530 1444-1526/com.sightplan.sightplanmobile.alpha W/System.err﹕ at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:223) 03-02 21:34:02.530 1444-1526/com.sightplan.sightplanmobile.alpha W/System.err﹕ at java.util.concurrent.FutureTask.get(FutureTask.java:82) 03-02 21:34:02.530 1444-1526/com.sightplan.sightplanmobile.alpha W/System.err﹕ at com.couchbase.lite.replicator.PullerInternal.waitForPendingFutures(PullerInternal.java:910)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    OutOfMemoryError on Jenkins

    GitHub | 4 months ago | hideki
    java.lang.OutOfMemoryError
  5. 0

    NullPointerException produced by com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5

    Stack Overflow | 3 years ago | Vishal Singh
    java.lang.OutOfMemoryError: Java heap space </code></pre> <p>And </p> <pre><code> Exception in thread "http-8080-149" at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

    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

      Failed to allocate a 39474628 byte allocation with 16777216 free bytes and 16MB until OOM

      at com.fasterxml.jackson.core.util.ByteArrayBuilder.toByteArray()
    2. Jackson-core
      ByteArrayBuilder.toByteArray
      1. com.fasterxml.jackson.core.util.ByteArrayBuilder.toByteArray(ByteArrayBuilder.java:118)
      1 frame
    3. Jackson
      ObjectMapper.writeValueAsBytes
      1. com.fasterxml.jackson.databind.ObjectMapper.writeValueAsBytes(ObjectMapper.java:2807)
      1 frame
    4. com.couchbase.lite
      LiteServlet.service
      1. com.couchbase.lite.internal.Body.lazyLoadJsonFromObject(Body.java:83)
      2. com.couchbase.lite.internal.Body.getJson(Body.java:73)
      3. com.couchbase.lite.router.Router.setResponse(Router.java:685)
      4. com.couchbase.lite.router.Router.start(Router.java:635)
      5. com.couchbase.lite.listener.LiteServlet.service(LiteServlet.java:141)
      5 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    6. Embedded Servlet Container
      Utils$ThreadPool$PooledThread.run
      1. Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2251)
      2. Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2176)
      3. Acme.Serve.Serve$ServeConnection.run(Serve.java:1988)
      4. Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223)
      4 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:761)
      1 frame