Tagged articles
memory analysis
30 articles · Page 1 of 1
Google's open-source chrome-devtools-mcp exposes Chrome DevTools as an MCP server with 63 tools across 13 categories, enabling AI agents to autonomously trace performance, analyze memory snapshots, set logpoints, and record screencasts—complete with installation steps, privacy defaults, and architectural insights.
AI debuggingDevToolsGoogle open source
0 likes · 14 min read

This comprehensive guide covers Linux troubleshooting methodology using 5W2H, essential tools for CPU, memory, disk I/O, network, and load analysis, plus flame graph techniques for on-CPU, off-CPU, memory, and differential profiling, illustrated with a real nginx cluster case study.
CPU profilingLinux troubleshootingNetwork Monitoring
0 likes · 18 min read

RedisInsight is a visual GUI for Redis that uniquely supports Redis Cluster, offers SSL/TLS connections, memory analysis and an integrated CLI; the article walks through downloading the package, configuring environment variables, starting the service on Linux, deploying it on Kubernetes with a YAML manifest, and using the UI to monitor and operate Redis instances.
GUIKubernetesRedisInsight
0 likes · 8 min read

The upgraded Redis large‑key analysis transforms troubleshooting by delivering a comprehensive memory portrait that includes type, size, TTL, and prefix distributions, plus risk highlights, enabling precise identification of performance bottlenecks without relying on guesswork.
Key PrefixLarge KeyTTL
0 likes · 11 min read

kn-live-dbg is a lightweight, debugger‑styled Windows kernel memory browser that uses a kernel driver and a user‑mode TUI to read/write virtual and physical memory, enumerate callbacks, parse symbols, and even provide AI‑assisted command planning, offering a faster alternative to WinDbg for specific security research tasks.
AI assistantDbgHelpKernel Driver
0 likes · 12 min read

This guide explains why Java developers need profiling, introduces IntelliJ IDEA’s built‑in Profiler (powered by Async Profiler and JFR), and provides step‑by‑step instructions with screenshots for CPU, memory, and thread analysis to diagnose slow endpoints, high CPU usage, memory leaks, and concurrency bottlenecks.
CPU analysisIntelliJ IDEAJProfiler
0 likes · 12 min read

This comprehensive guide explores GDB as a powerful debugging tool for memory analysis, covering installation, startup methods, core commands, breakpoint strategies, memory inspection, stack tracing, advanced features, remote debugging, and best practices for production environments, complete with practical code examples and step‑by‑step instructions.
C++Linuxdebugging
0 likes · 55 min read

This article walks through a real‑world production‑environment debugging case, showing how tracing with SkyWalking, deep GC log analysis, mis‑configured c3p0 pools and Finalizer behavior can combine to cause intermittent time‑outs and high latency in a distributed Java service.
GCconnection poolmemory analysis
0 likes · 24 min read

Learn how the open‑source hcache tool analyzes Linux page‑cache usage, provides global and per‑process cache rankings, supports multiple output formats, and offers step‑by‑step installation and command examples to pinpoint memory hogs, troubleshoot OOM alerts, and optimize system performance.
Cache MonitoringPerformance Tuninghcache
0 likes · 8 min read

This article provides an in-depth tutorial on the GNU Debugger (GDB), covering its purpose, installation, basic and advanced commands, remote debugging, memory analysis, and practical tips for efficiently debugging C/C++ applications on Linux and Windows platforms.
C++Remote Debuggingcommand-line
0 likes · 25 min read

This beginner‑level guide explains iOS virtual‑memory and heap fundamentals, demonstrates how autorelease‑pool buildup and retain‑cycle leaks cause out‑of‑memory crashes, and shows step‑by‑step use of Xcode’s Memory Graph, Instruments Allocations, and leak detection tools, plus tips on weak versus unowned references.
AutoreleasePoolInstrumentsLeaks
0 likes · 17 min read

This article introduces the OpenCoreAnalysisKit project, an open‑source suite for offline analysis of Android Core memory files across multiple architectures, detailing its components, build requirements, usage guides for kernel‑ and user‑mode debugging, and various command‑line tools and code snippets for comprehensive reverse‑engineering and memory‑analysis workflows.
Androidcore dumpdebugging
0 likes · 20 min read

This article introduces the art‑parser tool for offline Android core‑dump analysis, detailing its origin, project structure, core‑file acquisition methods, page‑repair techniques, object inspection commands, and the challenges of open‑sourcing the utility for mobile developers.
AndroidNative Crashart-parser
0 likes · 18 min read

By patching ART’s internal debug flags to enable JVMTI on non‑debuggable apps, the authors created TBProfiler, a lightweight Android profiling tool that uses JVMTI’s event callbacks to trace method calls, thread and exception events, lock contention, and memory allocations, producing a compact mini‑hprof for production‑grade runtime monitoring and analysis.
AndroidJVMTIRuntime monitoring
0 likes · 20 min read

This guide walks you through using IntelliJ IDEA Ultimate’s built‑in Profiler to analyze Java CPU and memory performance, covering quick start steps, visualizations such as hotspot maps, call trees, method lists, timelines, real‑time charts, and exporting results as .jfr and .hprof files.
CPU analysisIntelliJ IDEAJava profiling
0 likes · 5 min read

This article walks through a real‑world OOM incident in an MQ consumer caused by large Excel import/export, explains how memory dumps and Prometheus logs pinpointed the culprit, and shows how switching from XSSFWorkbook to SXSSFWorkbook and tuning the thread pool resolved the issue.
Apache POIJavaOOM
0 likes · 9 min read

This guide walks you through installing RedisInsight on Linux, configuring its environment variables, running it as a background service, deploying it on Kubernetes with a ready‑to‑use YAML, and using its UI to monitor Redis metrics, browse and edit data, and analyze memory usage.
Database GUIKubernetesRedisInsight
0 likes · 6 min read


ByteFEJul 25, 2022 · Mobile Development
MemoryThrashing is a self-developed tool designed to detect and analyze memory thrashing issues in live streaming applications, addressing the challenges of OOM problems by providing efficient memory growth monitoring and analysis capabilities.
OOM detectionRuntime monitoringiOS development
0 likes · 10 min read

This article provides an in‑depth guide to analyzing Android native crashes, explaining common SIGSEGV types, interpreting tombstone logs, extracting register and memory information, using coredumps, and employing tools such as GDB, lldb, ASAN, HWASAN, and assembly inspection to trace and resolve crash causes.
AndroidNative Crashassembly
0 likes · 39 min read

This article demonstrates how to use Eclipse Memory Analyzer (MAT) together with heap dump files to diagnose Java OutOfMemoryError issues, covering heap dump generation, histogram and dominator tree analysis, reference chain inspection, OQL queries, and a concrete Spring Boot example.
Eclipse MATHeap DumpJava
0 likes · 12 min read

The article offers a thorough guide to Android ANR analysis, detailing generation mechanisms, timeout thresholds, log examination techniques, and case studies of common causes such as idle main threads, long operations, lock contention, CPU preemption, memory pressure, and system‑service timeouts, providing practical diagnostic examples.
ANRAndroidCPU analysis
0 likes · 16 min read

This article explains how to generate a heap dump with jmap, import it into Eclipse Memory Analyzer (MAT), and interpret the various reports such as Histogram, Dominator Tree, Top Consumers, and Leak Suspects to identify memory leaks or insufficient heap sizing in Java applications.
Heap DumpJavaMAT
0 likes · 8 min read

This guide introduces JProfiler, explains how to attach it to a running JVM, choose profiling modes, capture CPU and memory data, generate and analyze heap dumps using both JProfiler and jmap, and details the various views such as Memory, CPU, Thread, Monitor, and Telemetry for comprehensive Java performance troubleshooting.
DUMPJProfilerJava
0 likes · 15 min read

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.
Deep CopyHeap DumpJava
0 likes · 6 min read

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.
Deep CopyHeap DumpJConsole
0 likes · 6 min read

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 DumpJVisualVMjcmd
0 likes · 6 min read

This article explains how memory-mapped files are used in a search engine, describes the underlying Linux mechanisms such as page cache, multi-level page tables and radix trees, and presents practical methods—including mincore, /proc smaps, pagemap and system commands—to analyze and monitor their memory consumption at both kernel and process levels.
LinuxMemory Mapped FilesPage Cache
0 likes · 14 min read

This article explains Java heap dump files, detailing the concepts of shallow and retained heap, leading sets, dominator trees, and various types of garbage collection roots to help developers analyze memory usage and diagnose OutOfMemoryError issues.
Heap Dumpdominator-treememory analysis
0 likes · 9 min read

This article introduces RDR, an open-source visualization platform developed by Xueqiu's SRE team to safely and efficiently analyze Redis memory consumption by parsing RDB files, estimating key-level memory usage based on internal data structures, and generating intuitive statistical reports for operational optimization.
OperationsRDB ParsingSRE
0 likes · 9 min read

This article introduces the macOS vmmap utility, explains why a lightweight version was re‑implemented for iOS, and details the step‑by‑step code that obtains task handles, region data, dyld image information, formats and prints memory maps to aid reverse‑engineering on iOS devices.
MachdyldiOS
0 likes · 5 min read
