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”

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”

Powered by WordPress.com.

Up ↑