In the series of chaos engineering articles, we have been learning to simulate various performance problems. In this post, let’s discuss how to simulate ‘java.lang.OutOfMemoryError: Java Heap space’ problem. This ‘java.lang.OutOfMemoryError: Java Heap space’ will be thrown by the application when the application generates more objects than the allocated heap size.Continue reading “Chaos Engineering – Simulating OutOfMemoryError”
Java applications tend to contain hundreds (sometimes thousands) of threads. The majority of these threads are in WAITING, TIMED_WAITING (i.e., dormant) state, while only a small portion of the threads are actively executing lines of code. So, we were curious to know whether dormant threads consume less memory than active threads.
To figure out an answer to this question, we conducted a small study. Our findings were interesting, thus sharing with you.Continue reading “Java threads – may not be memory effecient?”
Java Virtual Machine (JVM) generates 3 critical artifacts that are useful for optimizing the performance and troubleshooting production problems. Those artifacts are:Continue reading “What is GC Log, thread dump and Heapdump?”
Debug/Diagnostic information about the application and JVM instance is published in the health check status page. In the health check status page, the following information is printed in the JSON format:Continue reading “Health Check Status Page”
JAX – Online Edition 2020 is the conference for JAVA, architecture and software innovations. This conference had 4 major workshops and nearly 20 sessions presented by many speakers from all over the world! All were performed live, carried out with the video platform and designed interactively for the developers.Continue reading “JAX Online 2020 – Why (& How to) write memory efficient code?”
Covid19 pandemic has already put a deep economic dent globally. US stock market has experienced the worst crash since 1987. Sooner or later, Enterprises have to figure out a plan to run their organizations on tight budgets. In this below 10 minute interview, our architect Ram Lakshmanan is sharing an effective way to cut down enterprise IT spending 20 – 30% without doing any lay-offs.Continue reading “Surviving Covid19 – Effective way to cut-down IT spending!”
At the time (March 2020) of writing this article there are 600+ arguments that you can pass to JVM just around Garbage collection and memory. If you include other aspects, total JVM arguments count will easily cross 1000+. 😊. It’s way too many arguments for anyone to digest and comprehend. In this article, we are highlighting seven important JVM arguments that you may find it useful.Continue reading “7 JVM arguments of Highly Effective Applications”
Continue reading “Shooting the troubles – Confoo Canada Conference talk (video)”
ConFoo.CA Developer Conference is one of the biggest conferences for web developers, that took place in Canada. This Conference had 155 presentations by popular international speakers focused on pragmatic solutions for developers, enthusiastic attendees and delightful atmosphere!
Eclipse MAT, Heaphero are all popular java tools to analyze large size heap dumps. Recently we ran in to an interesting problem when trying to analyze a heap dump file in Eclipse MAT. Tool was crashing because of missing font 😊. We thought we will share with you what we found out.Continue reading “Java – Missing font – Crashing App!”
There are excellent Heap dump analysis tools like Eclipse MAT, Jprofiler, … These tools are handy when you want to debug/troubleshoot OutOfMemoryError. However, we HeapHero has following unique capabilities which aren’t available in those tools:Continue reading “How is HeapHero different?”