Tagged articles
17 articles
Page 1 of 1
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
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 9, 2023 · Backend Development

Master JDK Command-Line Tools for Java Troubleshooting

This guide explains how to use JDK command-line utilities such as jps, jstat, jinfo, jmap, jhat, and jstack to monitor JVM processes, inspect memory usage, generate heap dumps, and diagnose performance issues, providing command syntax, options, and practical examples.

command-line-toolsjmapjps
0 likes · 8 min read
Master JDK Command-Line Tools for Java Troubleshooting
Code Ape Tech Column
Code Ape Tech Column
Jun 20, 2021 · Backend Development

Master JVM Performance: Essential Tools and Real‑World Debugging Guide

This article introduces core JVM performance and monitoring utilities—including jps, jstack, jmap, jhat, jstat, and hprof—explains their command syntax, demonstrates practical steps to locate high‑CPU threads, analyze heap dumps, and interpret GC statistics, and provides concrete code examples for Java developers.

JVMJavajmap
0 likes · 13 min read
Master JVM Performance: Essential Tools and Real‑World Debugging Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2021 · Backend Development

Master Java’s Built‑In Diagnostic Tools: jps, jstat, jinfo, jmap, jhat & jstack

This guide explains where Java's command‑line tools reside, why they are small wrappers around tools.jar, and provides detailed usage, options, and examples for the most common diagnostics utilities—including jps, jstat, jinfo, jmap, jhat, and jstack—helping developers monitor and troubleshoot JVM processes effectively.

JDKdiagnostic toolsjmap
0 likes · 7 min read
Master Java’s Built‑In Diagnostic Tools: jps, jstat, jinfo, jmap, jhat & jstack
Java Backend Technology
Java Backend Technology
Oct 27, 2020 · Backend Development

Master JVM Performance: Essential Tools and Real-World Usage Guide

This article explains common JVM problems such as OutOfMemoryError, memory leaks, and thread deadlocks, then introduces core monitoring tools—jps, jstack, jmap/jhat, jstat, and hprof—detailing their syntax, options, and practical examples to help Java developers diagnose and tune production applications.

HprofJVMjmap
0 likes · 15 min read
Master JVM Performance: Essential Tools and Real-World Usage Guide
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
Senior Brother's Insights
Senior Brother's Insights
Nov 10, 2019 · Backend Development

Master JVM Performance: Using jps, jstack, jmap, jstat & hprof

This guide introduces essential JVM performance monitoring tools—including jps, jstack, jmap, jhat, jstat, and hprof—explains their command syntax, demonstrates step‑by‑step usage with real‑world examples, and shows how to interpret their output to diagnose memory leaks, thread issues, GC behavior, and CPU hotspots.

HprofJVMPerformance Monitoring
0 likes · 14 min read
Master JVM Performance: Using jps, jstack, jmap, jstat & hprof
Programmer DD
Programmer DD
Nov 4, 2019 · Operations

Master JVM Performance: Essential Tools and Real‑World Tuning Guide

This article introduces the most common JVM performance problems in enterprise Java applications and provides a practical guide to using core monitoring and tuning tools such as jps, jstack, jmap, jstat and hprof, complete with command syntax, sample outputs and step‑by‑step troubleshooting examples.

JVMJavaMonitoring Tools
0 likes · 13 min read
Master JVM Performance: Essential Tools and Real‑World Tuning Guide
MaGe Linux Operations
MaGe Linux Operations
Oct 27, 2016 · Backend Development

Master JVM Performance: Essential Tools (jps, jstack, jmap, jstat, hprof)

Learn how to diagnose and resolve common Java performance issues such as OutOfMemoryError, thread deadlocks, and high CPU usage by using built‑in JVM tools—including jps, jstack, jmap, jhat, jstat, and hprof—through detailed command examples, output explanations, and practical profiling techniques.

JVMJavaMonitoring Tools
0 likes · 11 min read
Master JVM Performance: Essential Tools (jps, jstack, jmap, jstat, hprof)
Meituan Technology Team
Meituan Technology Team
Oct 1, 2016 · Backend Development

Debugging Spring MVC @Service Bean Injection Issues with JMap and JHat

The article explains how a Spring MVC service bean was duplicated across root and child WebApplicationContexts, causing a null‑injected instance that triggered a NullPointerException, and shows how JMap and JHat were used to locate the two beans and resolve the issue by adjusting component‑scan filters or removing the @Service annotation.

Bean InjectionDebuggingJava
0 likes · 14 min read
Debugging Spring MVC @Service Bean Injection Issues with JMap and JHat