Thursday, August 13, 2020

8 Flavors of OutOfMemoryError

There are total eight different flavors of java.lang.OutOfMemoryError ordered by roughly the frequency of occurrences in my own experience:
  1. Java heap space
  2. GC Overhead limit exceeded
  3. Permgen space
  4. Metaspace
  5. Kill process or sacrifice child
  6. Requested array size exceeds VM limit
  7. Unable to create new native thread
  8. reason stack_trace_with_native_method
New Added (05/17/2021)
In the past, I have authored multiple articles on how to debug and resolve such OutOfMemory (OOM) issues.  Here are a list of them:
  1. Understanding Garbage Collection (HotSpot)
  2. Diagnosing Java.lang.OutOfMemoryError (Memory Analyzer)
  3. Understanding Garbage Collector Output of Hotspot VM (Hotspot)
  4. A Case Study of java.lang.OutOfMemoryError: GC overhead limit exceeded (HotSpot)
  5. How to See a Long Command Line of a Running Process on HotSpot VM (HotSpot)
    • -XX:+HeapDumpOnOutOfMemoryError
  6. Which JVM?
    • Ways to configure JVM options in JDeveloper / WebLogic Server / Eclipse
  7. HotSpot VM Performance Tuning Tips (HotSpot)
  8. HotSpot—java.lang.OutOfMemoryError: PermGen space (HotSpot)
  9. Analyzing the Performance Issue Caused by WebLogic Session Size Too Big (HotSpot)
  10. How to Debug Native OutOfMemory in JRockit (JRockit)
  11. Default Values of JRockit's VM Options (JRockit)
  12. Diagnosing Heap Stress in HotSpot (HotSpot)
  13. JRockit: Parallel vs Concurrent Collectors (JRockit)
  14. Eclipse MAT: Querying Heap Objects Using OQL (Memory Analyzer)
  15. Eclipse MAT: Understand Incoming and Outgoing References (Memory Analyzer)
  16. HotSpot: Monitoring and Tuning Metaspace in JDK 8 (HotSpot)
  17. JDK 8: Thread Stack Size Tuning (HotSpot)
  18. How to Setup a Standalone Memory Analyzer for Windows 10 (Memory Analyzer)

23 comments:

  1. I truly like your style of blogging. I added it to my preferred's blog webpage list and will return soon…360DigiTMG data science certification

    ReplyDelete
  2. Nice stuff!! It's good to share these types of articles and I hope you'll share an article about artificial intelligence. By giving an institute like 360DigiTMG.it is one of the best institutes for accredited courses.
    artificial intelligence course in delhi

    ReplyDelete
  3. Attempting to express profound gratitude won't just be satisfactory, for the fabulous clearness in your creation. I will in a brief instant get your rss channel to stay instructed with respect to any updates.
    training provider in malaysia

    ReplyDelete
  4. Somebody Sometimes with visits your blog normally and prescribed it as far as I can tell to peruse too.
    360DigiTMG

    ReplyDelete
  5. I see the best substance on your blog and I unbelievably love getting them.

    hrdf scheme

    ReplyDelete
  6. wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated.
    best data science courses in hyderabad

    ReplyDelete
  7. "Very good article with very useful information. Visit our websitedata science training in Hyderabad
    "

    ReplyDelete
  8. I at last discovered extraordinary post here.I will get back here. I just added your blog to my bookmark locales. thanks.Quality presents is the vital on welcome the guests to visit the page, that is the thing that this website page is giving.
    digital marketing course aurangabad

    ReplyDelete
  9. Thank you for sharing this post, I really enjoyed reading every single word.

    Data Science can be interpreted as an advanced application of Computer Science which has been specially designed to deal with the data analytics applications. By making use of advanced tools and algorithms, Data Science has the power to mine & extract valuable insights which are encrypted inside the data. Thereby, uncovering the hidden patterns & information from the data has become a lot easier. This Data Science Course Training In Hyderabad will help the students gain real-world hands-on insights for handling the real-time industry challenges in this Data Science domain.

    For More info Please Visit Our Site or else feel free to Call/WhatsApp us on +91-9951666670 or mail at info@technologyforall.in

    Data Science Course in Hyderabad

    ReplyDelete
  10. I truly like your style of blogging. I added it to my prefer red’s blog webpage list and will return soon…

    Data Science Training in Hyderabad

    ReplyDelete
  11. I consider this to be a very important piece of information. Your post is very interesting. great post! This test is beneficial for action video game players. You should read this article for more details about this test. Action Per Minute Test

    ReplyDelete
  12. Nice Blog. This article is fully decorated from the well researched information. I truly enjoyed this article by reading. http://assessmenthelps.com/australia/ Assessment Help Australia

    ReplyDelete
  13. Read amazing content on your site and foreseeing such kind of subject matter in the years to come as it is exceedingly reliable as well as educational.
    url opener

    ReplyDelete
  14. Looking ahead to such type of article in the coming future as it is surprisingly insightful and also informative. umrah packages uk

    ReplyDelete
  15. Many thanks for this particular significant as well as wonderful web blog. I am remarkably joyful to experience this sort of tips.
    uwatchfree
    playtubes

    ReplyDelete
  16. Academic writing EU Directives, on the other hand, differ from EU Regulations in that they are not directly applicable. Instead, they must be implemented into British law through domestic legislation (Acts of Parliament). Acts of Parliament that invoke the provisions of an EU Directive will, in principle, continue Nursing assignment help UK to have effect following formal withdrawal. However, because it will no longer be necessary to incorporate EU Directives into UK law, the UK must determine whether the statute currently in place that serves this purpose should be repealed, amended, or simply retained.

    ReplyDelete
  17. Visit Deysphotography for Baby Photoshoot at Home, Pregnancy Photoshoot, and Best Maternity Photographer in Delhi. For more information about maternity photography visit our website.
    Baby Photoshoot at Home

    ReplyDelete
  18. Get the best Trusted Developers in Bangalore, and Villas for Sale in Bangalore Gated Community at Preetidevelopers. Visit our website for more information in details.
    Villas for Sale in Bangalore Gated Community

    ReplyDelete
  19. Nice blog. Visit Electryfyaholic for Top 10 Kitchen Hobs in India, Best Smart TVS in India, Best Microwave Oven Under 15000, and Best DSLR Camera in India. For more information in detail visit our website.
    Best Smart TVS in India

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. I have been struggling to find reliable lawn mowing services in Milwaukee until I discovered your website. Your team at Sunrise Grass Cutting seems highly skilled and dedicated to delivering exceptional results. The before and after pictures on your website are truly impressive and demonstrate the transformative effect of your services. I can't wait to see my own lawn looking as lush and well-maintained as those in the photos. Thank you for providing such a valuable service!
    lawn edging and lawn care services in milwaukee

    ReplyDelete
  22. Get the best Food Truck Branding Services, Truck Advertisement, Bus Branding services at Kalakutir Pvt Ltd. Visit our website for more information in details.
    Food Truck Branding Services

    ReplyDelete
  23. State-of-the-Art Curriculum: Discover our comprehensive curriculum. ICSS has designed a curriculum that covers everything from the basics to advanced topics in cyber security.

    ReplyDelete