Tag

dynamic allocation

1 views collected around this technical thread.

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
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.

Intelligent ComputeOptimizationPID control
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++Leak DetectionMemory Management
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.

Embedded SystemsFreeRTOSMemory Management
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.

JVMMemory LeakMemory Overflow
0 likes · 9 min read
Understanding Memory Leaks and Memory Overflow: Causes, Types, and Solutions