Ironically the example code from the "Coroutines a...
# coroutines
r
Ironically the example code from the "Coroutines are light-weight" section of the coroutine basics docs causes an OOM exception on play.kotlinlang.org. Is there a specific place to report such a thing for play.kotlinlang.org? A particular project on YouTrack maybe?
😄 2
t
The funny thing is: if you slightly lower the iterations (e.g. to 80_000) it works just fine. Guess they are having very limited machines memory wise
p
Looks like only 32MB of heap available
r
I can understand why it would have limited memory and it's certainly not a super urgent issue. My thinking for even brining it up is that newcomers who might choose to tinker through the coroutines guide in Kotlin Playground rather than firing up IntelliJ might find it to be a barrier.
l
Did any of you report it on kotl.in/issue?
r
I have not, this is exactly what I was asking for thank you!
l
Link the report here after please, I'll tumb it up 👍🏼
r
Thanks, writing it now and I'll link it after!
Went with "Bug" because it was the default. "Performance Problem" seems like it could be appropriate as well, but I figured whoever triages the ticket will correct the issue type if needed.
l
It's bug IMO, because it's a snippet presented on the home page.
p
It's also presented as an example of how lightweight coroutines are, for the example to fail due to resource usage is certainly ironic.
r
Right, and while it's not a huge deal I thought it worth mentioning since it could be a barrier to newcomers who might elect to use Kotlin Playground over firing up IntelliJ while following the coroutines guide.
Which apparently I already said earlier in the thread 🤦 at least I'm consistent I guess