Simulating & troubleshooting StackOverflowError in Scala

Опубликовано: 10 Апрель 2026
на канале: yCrash
125
1

In this series of simulating and troubleshooting performance problems in Scala, let’s discuss how to simulate StackOverflowError. StackOverflowError 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:20 - Sample Scala StackOverflowError Program
02:35 - How to diagnose StackOverflowError?

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

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/18/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...  

Simulating & troubleshooting StackOverflowError in Kotlin:
   • Simulating & troubleshooting StackOverflow...  

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

#scala | #higherorderfunctionsinscala | #methodcallsinscala | #functioncallsinscala | #scalaforbeginners | #scalatutorial | #scalaprogramminglanguage | #scalac | #scaladayssanfrancisco2015 | #scalaztask | #scalalanguage | #lxscala | #scalaz | #scaladays | #scalafuture | #stackoverflow | #scaladayscopenhagen | #overflow | #applicationperformancemonitoring | #java8functionalinterfaces | #scalacube | #engineering | #apachesparkintroduction | #functionalinterfacejava8 | #error