Simulating & troubleshooting StackOverflowError in Kotlin

Опубликовано: 09 Май 2026
на канале: yCrash
112
1

In this series of simulating and troubleshooting performance problems in Kotlin, let’s discuss how to simulate StackOverflow errors. StackOverflow error is a runtime error, which is thrown when a thread’s stack size exceeds its allocated memory limit.

If you liked this video, you'll love our Java Performance Masterclass. Learn more:
https://ycrash.io/java-performance-tr...

- - - - - - - - - - - - - -

Topics covered:

00:30 - Sample Kotlin StackOverflowError Program
02:51 - Execution

- - - - - - - - - - - - - -

Links shared in the video:

yCrash open source script:
https://github.com/ycrash/ycrash-agent

- - - - - - - - - - - - - -

Read more in this blog:

https://blog.ycrash.io/2022/10/17/sim...

- - - - - - - - - - - - - -

Our Tools:

yCrash: https://yCrash.io/
GCeasy: https://gceasy.io/
HeapHero: https://heaphero.io/
fastThread Tool: https://fastthread.io/

- - - - - - - - - - - - - -

SRE Community:

Need help in troubleshooting your performance problems?
Post here: https://answers.ycrash.io/

- - - - - - - - - - - - - -

Follow us on:

LinkedIn:   / ycrash  
Instagram:   / ycrash_rca  
Facebook:   / tier1app  
Twitter:   / tier1app  

- - - - - - - - - - - - - -

Related videos:

BuggyApp Demo:
   • BuggyApp Demo  

Simulating & troubleshooting OutOfMemoryError in Kotlin:
   • Simulating & troubleshooting OutOfMemoryEr...  

- - - - - - - - - - - - - -

#kotlin | #supportforcoroutinesshippedinkotlin | #howtohandlestackoverflowerrorinjava | #javastackoverflowerrorintamil | #howtoavoidstackoverflowerrorinjava | #kotlintutorial | #kotlindevelopment | #kotlincoroutinesreloaded | #kotlinandroid | #createappinkotlin | #kotlinvsjava | #kotlingradleplugin | #kotlinunderthehood | #kotlinforserver-side | #kotlinnative | #kotlinandroidtutorial | #kotlinprogramminglanguage | #kotlinmultiplatformmobile