Tagged articles
211 articles
Page 3 of 3
ITPUB
ITPUB
Oct 15, 2016 · Databases

Mastering Redis: Data Types, Memory Tweaks, and Persistence Strategies

This article explains Redis's five core data types, their internal representations and typical commands, details memory‑saving parameters for each type, compares the four persistence methods with their trade‑offs, and offers practical recommendations for optimal performance and stability.

Data TypesMemory Optimizationdatabase
0 likes · 16 min read
Mastering Redis: Data Types, Memory Tweaks, and Persistence Strategies
Architect
Architect
Jul 21, 2016 · Databases

Redis Ziplist (Compressed List) Principles and Applications

This article explains Redis’s ziplist (compressed list) memory layout, detailing its overall encoding, node structure—including previous length, encoding, and content fields—illustrates how various Redis data types employ ziplist encoding, and analyzes the benefits and trade‑offs of using this structure.

Data StructuresMemory Optimizationredis
0 likes · 10 min read
Redis Ziplist (Compressed List) Principles and Applications
WeChat Client Technology Team
WeChat Client Technology Team
Jul 5, 2016 · Mobile Development

Capture Android Allocation Tracker Data Programmatically for Memory Analysis

This article explains how to use Android Studio’s Allocation Tracker, automate its start/stop via code using the ddmlib library, and directly access Dalvik’s internal allocation records to retrieve object size, type, and stack information with minimal performance impact, while discussing limitations and compatibility concerns.

Allocation TrackerAndroidDalvik
0 likes · 11 min read
Capture Android Allocation Tracker Data Programmatically for Memory Analysis
21CTO
21CTO
Apr 2, 2016 · Backend Development

How to Reduce PHP Array Memory Usage with String Packing

This article explains why PHP arrays consume far more memory than their C equivalents and demonstrates a technique that stores a double array in a string using pack/unpack, which can dramatically lower memory consumption at the cost of some performance.

Backend DevelopmentMemory Optimizationstring packing
0 likes · 3 min read
How to Reduce PHP Array Memory Usage with String Packing
Tencent TDS Service
Tencent TDS Service
Jan 14, 2016 · Mobile Development

How to Accurately Measure and Reduce Android Bitmap Memory Usage

This article explains Android's DisplayMetrics density values, shows how to calculate a Bitmap's runtime memory footprint using getByteCount, explores the impact of screen density, pixel format, and scaling, and provides practical techniques such as inSampleSize, matrix scaling, and pixel format selection to minimize memory consumption.

AndroidBitmapDisplayMetrics
0 likes · 23 min read
How to Accurately Measure and Reduce Android Bitmap Memory Usage
WeChat Client Technology Team
WeChat Client Technology Team
Dec 15, 2015 · Mobile Development

Android Memory Optimization: Detect Leaks, Cut RAM, Boost Performance

This article outlines comprehensive Android memory optimization strategies, covering leak detection with LeakCanary, system‑level hacks, bitmap handling, runtime monitoring, multi‑process usage, and GC tuning, providing practical code snippets and tools to reduce RAM usage, prevent OOM crashes, and improve app performance.

AndroidGC tuningMemory Optimization
0 likes · 17 min read
Android Memory Optimization: Detect Leaks, Cut RAM, Boost Performance