java.lang.OutOfMemoryError: Could not allocate JNI Env

GitHub | marmor7 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1088#238125116

    GitHub | 9 months ago | a1018875550
    java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.
  2. 0

    GitHub comment 1088#238126121

    GitHub | 9 months ago | JakeWharton
    java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Rxjava + Retrofit Throwing OutOfMemoryError

    Stack Overflow | 9 months ago | 桂东齐
    java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.
  5. 0

    Android Throwing OutOfMemoryError crash

    GitHub | 8 months ago | ansmonjol
    java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again
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
    ThreadPoolExecutor.execute
    1. java.lang.Thread.nativeCreate(Thread.java)
    2. java.lang.Thread.start(Thread.java:1063)
    3. java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:921)
    4. java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1339)
    4 frames
  3. okhttp3
    OkHttpClient$1.put
    1. okhttp3.ConnectionPool.put(ConnectionPool.java:135)
    2. okhttp3.OkHttpClient$1.put(OkHttpClient.java:149)
    2 frames
  4. okhttp3.internal.connection
    ConnectInterceptor.intercept
    1. okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:188)
    2. okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:129)
    3. okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:98)
    4. okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    4 frames
  5. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    2 frames
  6. okhttp3.internal.cache
    CacheInterceptor.intercept
    1. okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)
    1 frame
  7. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    3. okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    4. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    5. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:124)
    6. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    7. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    7 frames
  8. okhttp3
    RealCall.execute
    1. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)
    2. okhttp3.RealCall.execute(RealCall.java:60)
    2 frames
  9. Unknown
    MyActivity.myFunction
    1. MyActivity.myFunction(MyActivity.java:853)
    1 frame
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames