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. Object Allocation Let’s briefly refresh the information... Continue Reading →
MEMORY WASTED BY SPRING BOOT APPLICATION
One of the widely wasted resources in the world today is: Memory. Due to inefficient programming, surprising (sometimes ‘shocking’) amount of memory is wasted. We see this pattern repeated in several enterprise applications. To prove this case, we conducted a small study. We analyzed the famous spring boot pet clinic application to see how much memory it is... Continue Reading →
HOW MUCH MEMORY IS MY APPLICATION WASTING?
In early 1970s 1 MB was costing 1 million $. Now 1 mb is costing fraction of that cost. There is no comparison. This is one of the reasons why engineers and enterprises don't worry about memory any more. 1 million $ in 1970s might be equivalent of several millions of dollars’ worth today. Thus,... Continue Reading →
HeapHero USER MANUAL
HeapHero is a world-class heap dump analysis tool. On top of doing traditional heap dump analysis, it's the first tool in the industry to report the wasted memory. Table of Contents Introduction Heap Statistics Whats in your Memory Large Objects Thread Report Object Headers Duplicate Strings Duplicate Objects Duplicate Primitive Arrays Inefficient Collections Inefficient Object... Continue Reading →
