Out of memory at AbstractCBLWebSocket

We are geeing below crash at run time

java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again
    at java.lang.Thread.nativeCreate(Thread.java)
    at java.lang.Thread.start(Thread.java:733)
    at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:975)
    at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1393)
    at okhttp3.internal.connection.RealCall$AsyncCall.executeOn(RealCall.kt:498)
    at okhttp3.Dispatcher.promoteAndExecute(Dispatcher.kt:184)
    at okhttp3.Dispatcher.enqueue$okhttp(Dispatcher.kt:125)
    at okhttp3.internal.connection.RealCall.enqueue(RealCall.kt:164)
    at okhttp3.internal.ws.RealWebSocket.connect(RealWebSocket.kt:165)
    at okhttp3.OkHttpClient.newWebSocket(OkHttpClient.kt:281)
    at com.couchbase.lite.internal.replicator.AbstractCBLWebSocket.openSocket(AbstractCBLWebSocket.java:279)
    at com.couchbase.lite.internal.core.C4Socket.open(C4Socket.java:125)

Can you explain us what caused the above exception

Your device ran out of usable memory. That’s all that can be said about this.