There are 9 types of java.lang.OutOfMemoryError, each signaling a unique memory-related issue within Java applications. Among these, ‘java.lang.OutOfMemoryError: Permgen space’ is a challenging error to diagnose. In this post, we’ll delve into the root causes behind this error, explore potential solutions, and discuss effective diagnostic methods to troubleshoot this problem. Let’s equip ourselves with the knowledge and tools to conquer this common adversary.
Continue reading “How to Solve OutOfMemoryError: Permgen Space”How to Solve OutOfMemoryError: Java heap space
There are 9 types of java.lang.OutOfMemoryError, each signaling a unique memory-related issue within Java applications. Among these, ‘java.lang.OutOfMemoryError: Java heap space’ stands out as one of the most prevalent and challenging errors developers encounter. In this post, we’ll delve into the root causes behind this error, explore potential solutions, and discuss effective diagnostic methods to troubleshoot this problem. Let’s equip ourselves with the knowledge and tools to conquer this common adversary.
Continue reading “How to Solve OutOfMemoryError: Java heap space”Types of OutOfMemoryError, Causes, and Solutions
There are 9 planets in our solar system. Similarly there are 9 types of OutOfMemoryErrors in Java. In this post, I would like to give a brief introduction about each type of OutOfMemoryError.
Continue reading “Types of OutOfMemoryError, Causes, and Solutions”String Deduplication in Java
In this article, we’ll learn how to improve the performance of the applications that tend to use most of the space due to extensive usage of Strings. There’s no need to store more than one instance of immutable objects in our heap, and String is a good example.
Continue reading “String Deduplication in Java”Actions on OutOfMemoryErrors
Everyone has at least once seen a failing application due to OutOfMemoryError. This error happens because the application cannot allocate the required memory.
Continue reading “Actions on OutOfMemoryErrors”Java SpringBoot – Performance Analysis and Tuning
SpringBoot is a widely used framework for building Java-based web applications and maintains a significant presence in the world of enterprise software development. It powers large-scale microservices and standalone applications. Most SpringBoot applications have embedded web servers and follow a distributed architecture consisting of three main types of application components:
Continue reading “Java SpringBoot – Performance Analysis and Tuning”Java Collection Overhead
The Java Virtual Machine enables Java applications to be platform-independent while optimizing performance. One crucial component to understand, when considering performance, especially memory utilization, is how the Java Collections Framework, specifically the ArrayList, handles size and capacity.
Continue reading “Java Collection Overhead”Troubleshooting Microservice’s OutOfMemoryError: Metaspace
Recently we confronted an interesting ‘java.lang.OutOfMemoryError: Metaspace’ problem in a Microservice application. This Microservice application will run smoothly for initial few hours, later it will start to throw java.lang.OutOfMemoryError: Metaspace. In this post let me share the steps we pursued to troubleshoot this problem.
Continue reading “Troubleshooting Microservice’s OutOfMemoryError: Metaspace”Montreal 2022 – 16 ARTIFACTS TO CAPTURE WHEN THERE IS A PRODUCTION PROBLEM
ConFoo Montreal is a multi-technology conference for developers. Our Architect Ram Lakshmanan has been invited there to present on the topic “16 artifacts to capture when there is a production problem“, which has secured 5th place among 155 sessions.
Continue reading “Montreal 2022 – 16 ARTIFACTS TO CAPTURE WHEN THERE IS A PRODUCTION PROBLEM”Is today’s microservice more bloated than yesterday’s monolith?
I am slightly hesitant to write this post, as it might attract some criticism. Nevertheless, I told myself there is nothing wrong with sharing my point of view (even though it might not be well accepted). I would like to share my personal experience regarding yesterday’s Monolithic and today’s Microservice architecture in this post.
Continue reading “Is today’s microservice more bloated than yesterday’s monolith?”