java.lang.OutOfMemoryError

pthread_create (1040KB stack) failed: Try again

Solutions on the web1641

  • via GitHub by a1018875550
    , 11 months ago
    pthread_create (1040KB stack) failed: Try again
  • via GitHub by JakeWharton
    , 11 months ago
    pthread_create (1040KB stack) failed: Try again
  • pthread_create (1040KB stack) failed: Try again
  • Stack trace

    • java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again at java.lang.Thread.nativeCreate(Native Method) at java.lang.Thread.start(Thread.java:1063) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:921) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1339) at okhttp3.ConnectionPool.put(ConnectionPool.java:134) at okhttp3.OkHttpClient$1.put(OkHttpClient.java:96) at okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:183) at okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:127) at okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:97) at okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:289) at okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:241) at okhttp3.RealCall.getResponse(RealCall.java:240) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160) at okhttp3.RealCall.access$100(RealCall.java:30) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:127) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 6 months ago
    3 times, 4 months ago
    Unknown user
    Once, 5 months ago
    Unknown user
    2 times, 11 months ago
    Unknown user
    Once, 1 year ago
    27 more bugmates