java.lang.OutOfMemoryError: Could not allocate JNI Env

GitHub | danvinokour | 8 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 2620#228586757

    GitHub | 8 months ago | danvinokour
    java.lang.OutOfMemoryError: Could not allocate JNI Env
  2. 0

    Could not allocate JNI Env on CommsReceiver

    GitHub | 7 months ago | baole
    java.lang.OutOfMemoryError: Could not allocate JNI Env
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Rotation

    GitHub | 1 year ago | Daard
    java.lang.OutOfMemoryError: Could not allocate JNI Env
  5. 0

    java.lang.OutOfMemoryError: Could not allocate JNI Env

    GitHub | 1 year ago | cundong
    java.lang.OutOfMemoryError: Could not allocate JNI Env
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

    Could not allocate JNI Env

    at java.lang.Thread.nativeCreate()
  2. Java RT
    Thread.start
    1. java.lang.Thread.nativeCreate(Thread.java)
    2. java.lang.Thread.start(Thread.java:1063)
    2 frames
  3. okhttp3.internal.framed
    FramedConnection$Builder.build
    1. okhttp3.internal.framed.FramedConnection.<init>(FramedConnection.java:173)
    2. okhttp3.internal.framed.FramedConnection.<init>(FramedConnection.java:55)
    3. okhttp3.internal.framed.FramedConnection$Builder.build(FramedConnection.java:577)
    3 frames
  4. okhttp3.internal.io
    RealConnection.connect
    1. okhttp3.internal.io.RealConnection.connectSocket(RealConnection.java:161)
    2. okhttp3.internal.io.RealConnection.connect(RealConnection.java:111)
    2 frames
  5. okhttp3.internal.http
    HttpEngine.sendRequest
    1. okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:188)
    2. okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:127)
    3. okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
    4. okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:289)
    5. okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:241)
    5 frames
  6. okhttp3
    RealCall$ApplicationInterceptorChain.proceed
    1. okhttp3.RealCall.getResponse(RealCall.java:240)
    2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)
    2 frames