Kuba Petržílka
12/17/2020, 1:00 AM/mnt/agent/work/f01984a9f5203417/runtime/src/main/cpp/Memory.cpp:1271: runtime assert: Must be positive
Any ideas how I can get some clue what am I doing wrong?Artyom Degtyarev [JB]
12/17/2020, 7:07 AMKuba Petržílka
12/17/2020, 9:41 AMfun main() = runBlocking {
repeat(100) {
val client = HttpClient(Curl)
val data = client.get<String> {
url("<http://google.com>")
}
println(data)
client.close()
}
}
prints:
Unfinished workers detected, 100 workers leaked!
and I can see it in htop
that there are just 100 of threads before the app is closedArtyom Degtyarev [JB]
12/17/2020, 11:13 AMruntime assert
one.