Search

GC easy – Universal Java GC Log Analyser

Tag

JVM arguments

7 JVM ARGUMENTS OF HIGHLY-EFFECTIVE APPLICATIONS – JAX London

JAX London is an annual conference for Java and Software Architecture enthusiasts held in October. In 2023, architect Ram Lakshmanan presented "7 JVM ARGUMENTS OF HIGHLY-EFFECTIVE APPLICATIONS," highlighting key JVM parameters for performance enhancement. The talk received a top rating of 5, surpassing the conference average of 4.2 and 4.54.

Let’s crash the applications! – Confoo 2022

ConFoo Montreal is a conference for developers that encourages knowledge sharing. Architect Ram Lakshmanan presented a session titled "Let's crash the applications!" covering issues like memory leaks, thread leaks, and deadlocks. Understanding these triggers aids in diagnosing and resolving related problems effectively. Slides from the talk are available for reference.

How to do GC Log analysis?

Analyzing garbage collection (GC) logs offers benefits such as reduced pause times, lower cloud costs, and improved capacity planning. This post outlines the process of enabling GC logs, the ideal measurement duration and environment, and tools for analysis. Key tools include GCeasy and IBM's GC visualizer for effective optimization.

Avoid passing – XX:+UseCompressedOops

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

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.

OUTOFMEMORYERROR RELATED JVM ARGUMENTS

This article discusses useful JVM arguments for handling OutOfMemoryError, which assist in memory troubleshooting. It covers -XX:+HeapDumpOnOutOfMemoryError for capturing heap dumps, -XX:OnOutOfMemoryError for executing scripts, -XX:+CrashOnOutOfMemoryError and -XX:+ExitOnOutOfMemoryError for abrupt application exits, highlighting the importance of graceful handling in both cases.

AUTOMATING – OUTOFMEMORYERROR TROUBLESHOOTING

The article outlines a three-step automated approach to troubleshoot OutOfMemoryError in applications. First, it suggests capturing heap dumps using specific JVM arguments to gather memory data. Next, it recommends restarting the application via a custom script to prevent instability. Lastly, it discusses analyzing heap dumps with tools or an API for effective diagnosis.

MICROMETRICS TO FORECAST APPLICATION PERFORMANCE

The content discusses the importance of monitoring micrometrics to effectively forecast application performance and availability, particularly focusing on memory, thread, network, and storage metrics. By analyzing metrics like garbage collection throughput, thread states, and IOPS, organizations can identify potential issues early, enhancing application reliability and performance.

MEMORY EFFICIENT: ECLIPSE OR INTELLIJ?

The study compares memory efficiency between Eclipse and IntelliJ IDEs by analyzing garbage collection activities during a coding exercise. Findings reveal IntelliJ creates significantly more objects (29 times) than Eclipse, impacting CPU consumption. However, IntelliJ demonstrates better average and maximum garbage collection pause times. Ultimately, Eclipse is deemed more memory efficient.

Up ↑