Tagged articles
22 articles
Page 1 of 1
Tech Freedom Circle
Tech Freedom Circle
Sep 28, 2025 · Backend Development

Midnight TODO That Nearly Crashed the Whole Department: A JVM Performance Tuning Case Study

During a midnight promotion launch, a forgotten TODO caused thread‑pool exhaustion and frequent Full GC, bringing down an e‑commerce service; the article presents a five‑step end‑to‑end JVM tuning methodology, from data collection to root‑cause verification and code fix, showing how to diagnose and resolve such incidents.

Full GCHeap DumpJVM
0 likes · 24 min read
Midnight TODO That Nearly Crashed the Whole Department: A JVM Performance Tuning Case Study
Code Ape Tech Column
Code Ape Tech Column
Jul 3, 2025 · Backend Development

How to Detect and Fix Memory Leaks in Spring Boot Applications

This guide explains the fundamentals of memory leaks in Java, outlines common causes in Spring Boot, and provides step‑by‑step techniques—including GC log analysis, JConsole, VisualVM, MAT, Actuator, custom endpoints, jstack, BTrace, and best‑practice recommendations—to identify, diagnose, and prevent memory leaks for stable long‑running services.

Heap DumpJVMPerformance Monitoring
0 likes · 18 min read
How to Detect and Fix Memory Leaks in Spring Boot Applications
Ops Development Stories
Ops Development Stories
Nov 9, 2023 · Operations

How to Pinpoint Java Out‑Of‑Memory Errors Using jmap and VisualVM

This guide explains why frequent garbage collection and heap memory overflow occur in Java applications, demonstrates how to reproduce the issue with a sample program, and walks through various techniques—including jmap histograms, heap dumps, VisualVM analysis, and remote JMX monitoring—to diagnose and resolve out‑of‑memory errors.

Garbage CollectionHeap DumpJava
0 likes · 9 min read
How to Pinpoint Java Out‑Of‑Memory Errors Using jmap and VisualVM
Node Underground
Node Underground
Nov 28, 2021 · Backend Development

Master Node.js Diagnostics: Core Dump, Heap Dump, CPU Profiling & More

This guide explains essential Node.js diagnostic techniques—including generating core dumps, capturing heap snapshots, profiling CPU usage, leveraging trace events, and using Diagnostic Reports—providing step‑by‑step commands, flag configurations, and example code to help developers troubleshoot crashes and performance issues in production environments.

CPU profilingDiagnostic ReportsHeap Dump
0 likes · 11 min read
Master Node.js Diagnostics: Core Dump, Heap Dump, CPU Profiling & More
Java Backend Technology
Java Backend Technology
Aug 16, 2020 · Operations

Mastering JVisualVM: Detect Memory Leaks and Monitor Java Applications

JVisualVM, bundled with JDK, offers a visual interface to monitor JVM threads, memory, CPU usage, and perform heap dumps, enabling developers to detect memory leaks, analyze object references, and remotely monitor applications such as Tomcat, with step-by-step installation, plugin usage, and code examples.

Heap DumpJVM MonitoringJVisualVM
0 likes · 10 min read
Mastering JVisualVM: Detect Memory Leaks and Monitor Java Applications
Programmer DD
Programmer DD
Jul 24, 2020 · Operations

Mastering jcmd: Essential Java Debugging Commands and Examples

jcmd, introduced in JDK 7, is a powerful built‑in Java diagnostic tool that lets you send commands to running JVMs, replace utilities like jstack and jmap, and perform tasks such as listing processes, printing thread stacks, retrieving heap information, and using Java Flight Recorder.

DebuggingHeap DumpJFR
0 likes · 6 min read
Mastering jcmd: Essential Java Debugging Commands and Examples
FunTester
FunTester
Apr 1, 2020 · Backend Development

Mastering JVM Performance: 6 Essential Parameters and GC Tuning Tips

Learn how to optimize Java applications by configuring six critical JVM parameters—including heap size, Metaspace limits, GC algorithm selection, logging, heap dumps, thread stack size, and network timeouts—while understanding their impact on performance, memory usage, and troubleshooting common out‑of‑memory issues.

Garbage CollectionHeap DumpJVM
0 likes · 9 min read
Mastering JVM Performance: 6 Essential Parameters and GC Tuning Tips
FunTester
FunTester
Dec 21, 2019 · Fundamentals

Demonstrating Deep vs Shallow Copy in Java Using Heap Dumps

This article explains how to avoid thread‑unsafe statistics collection by copying objects per thread, explores Java deep and shallow copying concepts, provides a concrete test program, and uses JConsole and heap dumps to verify the number of object instances created by each copying method.

Heap DumpJavaMemory analysis
0 likes · 6 min read
Demonstrating Deep vs Shallow Copy in Java Using Heap Dumps
FunTester
FunTester
Dec 19, 2019 · Fundamentals

Deep vs Shallow Copy in Java: Visualizing Object Instances with Heap Dumps

During a rewrite of a performance testing framework, the author explores Java deep and shallow copying, demonstrates memory analysis using heap dumps and JConsole to visualize object instances, and provides sample code illustrating how to clone objects safely across multiple threads.

Heap DumpJConsoleJava
0 likes · 6 min read
Deep vs Shallow Copy in Java: Visualizing Object Instances with Heap Dumps
FunTester
FunTester
Nov 27, 2019 · Operations

How to Capture Java Heap Dumps Efficiently with jmap, jcmd, and JVisualVM

This guide explains multiple ways to capture Java heap dumps—including jmap, JVM flags, jcmd, JVisualVM, JMX, and programmatic methods—detailing command syntax, best‑practice options, and step‑by‑step procedures for effective memory‑issue diagnosis.

Heap DumpJVisualVMMemory analysis
0 likes · 6 min read
How to Capture Java Heap Dumps Efficiently with jmap, jcmd, and JVisualVM
JD Tech
JD Tech
Aug 21, 2018 · Mobile Development

Sieve – Android Memory Analysis System: Background, Implementation, and Techniques

This article introduces the Sieve Android memory analysis system, explains why existing tools like LeakCanary and MAT fall short, describes how heap dump files are parsed, GC Roots identified, dominator trees generated, retained sizes calculated, and reference chains constructed to help developers locate memory leaks and OOM causes.

AndroidHeap DumpRetained Size
0 likes · 14 min read
Sieve – Android Memory Analysis System: Background, Implementation, and Techniques