krtko
05/15/2019, 4:50 PMFailed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 512k, guardsize: 0k, detached.
Exception in thread "HTTP-listener-11490-1" java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
at java.base/java.lang.Thread.start0(Native Method)
at java.base/java.lang.Thread.start(Thread.java:803)
at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937)
at java.base/java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1005)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
It definitely wasn't running out of memory. We do spawn a lot of coroutines, however my understanding is that shouldn't be an issue. The one place we use coroutines is:
val pushNotificationService = this.pushNotificationService
GlobalScope.launch {
pushNotificationService.sendPushKit(id)
}
Any ideas what could be going wrong? Thanksbdawg.io
05/15/2019, 4:52 PMkrtko
05/15/2019, 4:54 PMhho
05/15/2019, 5:02 PMkrtko
05/15/2019, 5:32 PMgildor
05/16/2019, 12:06 AMkrtko
05/16/2019, 12:38 AMgildor
05/16/2019, 1:00 AMpossibly out of memory or process/resource limits reached