Simulating & troubleshooting OutOfMemoryError in Kotlin

Опубликовано: 01 Октябрь 2024
на канале: yCrash
159
1

In this series of simulating and troubleshooting performance problems in Kotlin, let’s discuss how to simulate the ‘java.lang.OutOfMemoryError: Java Heap space’ problem. ‘java.lang.OutOfMemoryError: Java Heap space’ will be thrown by the application, when it generates more objects than the maximum configured heap size.

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

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

Topics covered:

00:25 - Kotlin OutOfMemoryError Program
02:40 - How to troubleshoot OutOfMemoryError by Manual approach
03:19 - How to troubleshoot OutOfMemoryError by Automated approach
04:28 - yCrash root cause analysis report

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

Links shared in the video:

Capture heap dump using one of the 7 approaches given here:
https://blog.heaphero.io/2017/10/13/h...

jHat:
https://docs.oracle.com/javase/8/docs...

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  

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

#kotlin | #troubleshooting | #whatisoutofmemoryerrorinandroid | #outofmemoryerrorinandroidstudio | #outofmemoryerrorinandroidstudio | #howtofixedoutofmemoryerrorinandroidstudio | #kotlinandroid | #nullsafetyinkotlin | #springbootandkotlin | #kotlinprogrammingtutorial | #oomerrorinandroid | #kotlintutorial | #howtofindmemoryleaksinandroidstudio | #kotlinadvancedtutorials | #kotlinusergroup | #kotlinforandroid | #kotlinprogramminglanguage