OUTOFMEMORYERROR RELATED JVM ARGUMENTS

JVM has provided helpful arguments to deal with OutOfMemoryError. In this article we would like to highlight those JVM arguments. It might come handy for you when you are troubleshooting OutOfMemoryError. Those JVM arguments are: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath -XX:OnOutOfMemoryError -XX:+ExitOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError Let’s discuss these JVM arguments in detail in this article. 1. -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath Heap dump... Continue Reading →

AUTOMATING – OUTOFMEMORYERROR TROUBLESHOOTING

Troubleshooting OutOfMemoryError or any memory related problem is done in manually even in 2019. Troubleshooting and identifying the root cause of OutOfMemoryError can even be automated, by following below mentioned 3 steps:         Capture heap dump Restart application Problem Diagnosis Let's discuss these steps in detail. 1. Capture heap dump Heap dump is... Continue Reading →

MEMORY EFFICIENT: ECLIPSE OR INTELLIJ?

Eclipse and IntelliJ are the two competing IDEs in the industry. There are lot of passionate discussion going in the social media, forums to declare the winner in this race. We thought it would be a fun exercise to study which IDE utilizes memory efficiently? Study To conduct this study, we used Eclipse Java EE... Continue Reading →

DISAPPOINTING STORY ON MEMORY OPTIMIZATION

Not all stories need to be success stories. Reality is also not like that. We would like to share a true, disappointing story (but a phenomenal learning experience) that may be beneficial to you. This is a story about optimizing memory utilization of a web application. This application was configured with a lot of memory... Continue Reading →

Up ↑