Search

GC easy – Universal Java GC Log Analyser

Tag

JVM Memory

In which region intern strings are stored?

The intern() function in Java's String class helps eliminate duplicate string objects, reducing memory usage by storing interned strings in the JVM's heap region. This post includes practical examples, performance observations from a sample program, and highlights the significance of enabling garbage collection logging for memory management insights.

How to Troubleshoot Microservices Metaspace OutOfMemoryError?

The post discusses troubleshooting a 'java.lang.OutOfMemoryError: Metaspace' issue in a microservice application, which works initially but fails after a few hours. It details identifying memory leaks in the Metaspace region through garbage collection logs and heap dump analysis, ultimately resolving the issue by upgrading a problematic third-party library.

What is Java Heap Fragmentation?

Java Heap fragmentation is an interesting problem, which triggers long pausing full garbage collection cycles. In this article we would like to attempt to explain the heap fragmentation.

Avoid passing – XX:+UseCompressedOops

we are noticing several java applications still continuing to use '-XX:+UseCompressedOops' JVM argument.

Surviving Covid19 – Effective way to cut-down IT spending

The Covid-19 pandemic has caused significant global economic damage, leading to the worst US stock market crash since 1987. In a brief interview, architect Ram Lakshmanan discusses strategies for enterprises to reduce IT spending by 20-30% without resorting to layoffs, emphasizing the need for financial planning during uncertain times.

7 JVM arguments of Highly Effective Applications

The article discusses key JVM arguments enhancing memory management and application performance, focusing on seven important arguments, including -Xmx, -XX:MaxMetaspaceSize, GC algorithms, GC logging, and memory-related settings. Proper configuration of these arguments is essential for optimizing garbage collection, preventing OutOfMemoryError, and ensuring application reliability in various environments.

JVM MEMORY – LEARN EASILY (VIDEO)

The video explains the various regions of JVM memory, such as Young Generation, Old Generation, and Metaspace. It also addresses the reasons why the Java process may use more memory than the configured -Xmx value, helping viewers understand JVM memory usage.

JAVA GARBAGE COLLECTION INTERVIEW QUESTIONS

Here are few Java Garbage Collection questions that may help in your next interview. What are different regions in JVM memory?

Up ↑