Tagged articles
8 articles
Page 1 of 1
Deepin Linux
Deepin Linux
May 28, 2025 · Fundamentals

Understanding glibc malloc: Overview, Mechanisms, and Optimization Techniques

This article explains the role of glibc malloc in dynamic memory allocation, describes its internal data structures and allocation/free algorithms, provides a C code example, and offers practical optimization tips and common pitfalls for safe and efficient memory management.

C programmingMemory Managementdynamic allocation
0 likes · 13 min read
Understanding glibc malloc: Overview, Mechanisms, and Optimization Techniques
Liangxu Linux
Liangxu Linux
May 20, 2025 · Fundamentals

Why Pointers Exist: A Storytelling Guide to Mastering C Pointers

This article explains the historical reasons behind the invention of pointers, walks through early memory manipulation, variable abstraction, the need for shared data, and demonstrates how pointers enable address passing, dynamic memory allocation, and complex data structures such as linked lists and trees, all with clear C code examples.

CMemory Managementdynamic allocation
0 likes · 15 min read
Why Pointers Exist: A Storytelling Guide to Mastering C Pointers
iQIYI Technical Product Team
iQIYI Technical Product Team
Sep 12, 2024 · Artificial Intelligence

Intelligent Compute Allocation in Advertising: Value Quantification, Elastic Elimination, and Dynamic Optimization

iQIYI’s ad engine team introduced an intelligent compute allocation system that quantifies traffic value and unified compute cost, uses elastic elimination and a dynamic allocation framework to maximize revenue under fixed compute limits, delivering over 30% inventory growth, modest consumption rise, and near‑perfect availability.

PID controldynamic allocationintelligent compute
0 likes · 11 min read
Intelligent Compute Allocation in Advertising: Value Quantification, Elastic Elimination, and Dynamic Optimization
Deepin Linux
Deepin Linux
Apr 18, 2024 · Fundamentals

C++ Memory Management: Concepts, Pitfalls, and Best Practices

This article provides a comprehensive overview of C++ memory management, covering stack vs heap allocation, deep vs shallow copying, common errors such as leaks, dangling pointers, double frees, and offers practical techniques like custom new/delete overloads, smart pointers, RAII, and tools for detecting memory problems.

C++RAIIdynamic allocation
0 likes · 92 min read
C++ Memory Management: Concepts, Pitfalls, and Best Practices
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 14, 2022 · Fundamentals

FreeRTOS Memory Allocation Methods, Interfaces, and Management Schemes

FreeRTOS supports both static and dynamic memory allocation, allowing tasks, timers, semaphores and mutexes to use either a pre‑allocated region or the system heap, provides pvPortMalloc/vPortFree APIs, and offers five heap schemes (heap_1‑5) ranging from simple non‑freeing allocation to multi‑region coalescing management for flexible embedded applications.

FreeRTOSStatic Allocationdynamic allocation
0 likes · 8 min read
FreeRTOS Memory Allocation Methods, Interfaces, and Management Schemes
Selected Java Interview Questions
Selected Java Interview Questions
Feb 8, 2021 · Fundamentals

Understanding Memory Leaks and Memory Overflow: Causes, Types, and Solutions

Memory leaks, caused by unreleased dynamic allocations, can accumulate and lead to memory overflow, severely degrading performance or crashing applications; this article explains leak definitions, causes, classifications (persistent, intermittent, one‑time, implicit), overflow reasons, and practical mitigation steps such as proper allocation, deallocation, and JVM tuning.

JVMResource Managementdynamic allocation
0 likes · 9 min read
Understanding Memory Leaks and Memory Overflow: Causes, Types, and Solutions