Search

GC easy – Universal Java GC Log Analyser

Tag

GC logs

Hidden Benefits of Analyzing Java Garbage Collection

Garbage Collection is automatic in modern languages like Java, .NET, Golang, and Python, but ignoring it can be costly. Tuning GC improves application performance, reduces costs, and solves production problems. Real case studies show big gains in response time, throughput, and savings. Understanding GC behavior gives developers useful insights and benefits.

How to Perform Java Garbage Collection Analysis? (3 Easy Steps)

Garbage Collection (GC) analysis is essential for application performance. Follow three steps: capture the GC log, use analysis tools, and study key metrics. Enable GC logging with specific settings. Use GC log analysis tools to examine key metrics and resolve memory and GC problems for better performance. Effective GC analysis can make you a hero in your organization.

Comparing Java GC Algorithms: Which One is Best?

As a Java engineer, picking the right GC algorithm is key for application performance. Options include Serial, Parallel, CMS (deprecated), G1, Shenandoah, ZGC, and Epsilon. Each one has unique features and suits different situations. Use a flowchart to help choose the best algorithm based on your performance goals and heap size. Always conduct thorough performance testing before making a switch.

Degradation in String Deduplication Performance in Recent Java Versions

This is an investigative piece on the performance of string deduplication in different versions of Java. The investigation compared Java versions 11, 17, and 21 and their ability to remove duplicate strings. It utilized a WebCrawler application and JMeter load testing to gather data. The findings revealed that Java 11 outperformed versions 17 and 21, eliminating 34.3% of duplicates in 1,264.442 milliseconds. However, newer versions showed a decline in performance, deduplicating fewer strings over longer periods of time.

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.

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.

Up ↑