Search

GC easy – Universal Java GC Log Analyser

Tag

Java

How to analyze Node.js Garbage Collection traces?

Node.js applications may suffer from unresponsiveness due to long Garbage Collection pauses or memory leaks. Enabling GC traces with '--trace-gc' helps monitor memory usage and potential bottlenecks. This article details on how certain tools can provide graphs and metrics for easy interpretation, aiding in optimizing performance and memory management.

How to capture Node.js Garbage Collection traces?

Garbage collection (GC) plays a crucial role in managing memory in Node.js. Efficient GC is essential for optimal performance, making it vital to trace GC events. This article covers the three main methods for tracing GC events: utilizing the '--trace-gc' flag, leveraging the v8 module for dynamic tracing, and utilizing the perf_hooks module.

How Robotics app reduced GC pause time from 5 minutes to 2 seconds

The post discusses optimizing a Java application used for controlling warehouse robots, which faced performance issues due to long Garbage Collection (GC) pauses. By analyzing the GC log, it identified a large heap size and the CMS GC algorithm as culprits. Switching to the G1 GC algorithm reduced GC pauses significantly, enhancing application performance without major structural changes.

String Deduplication in Java

This article discusses optimizing application performance by managing String allocations in Java. It explains how to avoid excessive memory use through techniques like String literals, the String.intern() method, and the Java String deduplication feature. The importance of proper parameter settings and performance evaluation is emphasized for effective memory management.

SaaS business CEO’s view on Garbage Collection

Sridhar Vembu, CEO of Zoho, inspires many with his success story in building a major SaaS business. He emphasizes the financial benefits of optimizing automatic garbage collection, which can save companies billions annually by reducing application pause times that hinder performance and inflate cloud costs, as shown by successes at Uber and an automobile company.

CMS GC algorithm removed from Java 14?

The Java Concurrent Mark & Sweep (CMS) algorithm, favored for its low-latency memory management, was deprecated in Java 9 and removed in Java 14 due to a lack of contributors for maintenance. Users are encouraged to transition to alternatives like G1, Shenandoah, or ZGC, ensuring thorough performance analysis before switching.

Java CMS GC Tuning

The Java Concurrent Mark & Sweep (CMS) garbage collection algorithm aims to minimize pause times by marking and sweeping memory concurrently. Despite its benefits, CMS has been deprecated since JDK 9 and removed in JDK 14. This post discusses tuning techniques, JVM parameters, and advanced options to optimize CMS performance for specific scenarios.

Serial GC Tuning

The Serial Garbage Collector (GC) is single-threaded, ideal for smaller applications and resource-limited environments. This post discusses tuning techniques for Serial GC, covering parameters like heap size, pause time, and tenuring threshold. Analyzing GC logs helps optimize performance. Overall, developers can configure Serial GC for efficient application management.

Shenandoah GC Tuning

Shenandoah GC enhances Java application's performance by concurrently managing garbage collection with application threads, aiming for low pause times. This is accomplished through region-based memory management and various tuning parameters. Ideal for low-latency, large heap, and highly concurrent applications, Shenandoah offers modes and heuristics for optimizing performance. Analyzing GC logs aids fine-tuning.

Up ↑