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 wasting. This application has been designed by the community to show how the spring application framework can be used to build simple but powerful database-oriented applications.

Continue reading “MEMORY WASTED BY SPRING BOOT APPLICATION”

TCP: out of memory — consider tuning tcp_mem

Recently we experienced an interesting production problem. This application was running on multiple AWS EC2 instances behind Elastic Load Balancer. The application was running on GNU/Linux OS, Java 8, Tomcat 8 application server. All of sudden one of the application instances became unresponsive. All other application instances were handling the traffic properly. Whenever the HTTP request was sent to this application instance from the browser, we were getting following response to be printed on the browser.

Continue reading “TCP: out of memory — consider tuning tcp_mem”

HOW TO INVOKE HEAP DUMP ANALYSIS API THROUGH POSTMAN

HeapHero provides powerful REST API to analyze Java/android heap dumps. This API can be used in CI/CD pipeline to proactively analyze how much memory is wasted due to inefficient programming practices such duplication of strings, over allocation and under utilization of data structures, sub-optimal data type definitions,…. It can be used in production environment too detect memory leaks proactively. This document walks through the steps involved in invoking this REST API through the Postman tool.

Continue reading “HOW TO INVOKE HEAP DUMP ANALYSIS API THROUGH POSTMAN”

Blog at WordPress.com.

Up ↑