Tag

jmap

0 views collected around this technical thread.

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.

JDKJavaTroubleshooting
0 likes · 8 min read
Master JDK Command-Line Tools for Java Troubleshooting
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.

JDKJavadiagnostic tools
0 likes · 7 min read
Master Java’s Built‑In Diagnostic Tools: jps, jstat, jinfo, jmap, jhat & jstack
360 Quality & Efficiency
360 Quality & Efficiency
Jun 14, 2019 · Backend Development

Diagnosing and Resolving a Java Process Memory Leak Using GC Logs and jmap

After observing a Java process with persistently high memory usage, the article details a step‑by‑step investigation using top, ps, GC logging, and jmap to identify a memory leak caused by a third‑party jar, and shows how adjusting JVM parameters and fixing the code resolved the issue.

CMSJavabackend development
0 likes · 6 min read
Diagnosing and Resolving a Java Process Memory Leak Using GC Logs and jmap
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 8, 2016 · Backend Development

Quickly Diagnose High CPU Usage in Java/Tomcat with jstack and Jstat

This article explains how to identify and resolve intermittent high CPU usage in Java/Tomcat services by analyzing thread stacks with jstack, examining GC behavior with Jstat, and using Jmap for memory inspection, providing step‑by‑step commands and practical tips for ops engineers.

CPUJavaTomcat
0 likes · 7 min read
Quickly Diagnose High CPU Usage in Java/Tomcat with jstack and Jstat