Memory pool
Memory pools, also called fixed-size blocks allocation, is the use of pools for memory management that allows dynamic memory allocation. Dynamic memory allocation can, and has been achieved through the use of techniques such as malloc and C++'s operator new; although established and reliable implementations, these suffer from fragmentation because of variable block sizes, it is not recommendable to use them in a real time system due to performance. A more efficient solution is preallocating a number of memory blocks with the same size called the memory pool. The application can allocate, access, and free blocks represented by handles at run time. Many real-time operating systems use memory pools, such as the Transaction Processing Facility. POCO offers a memory pool class, Poco::MemoryPool . Some systems, like the web server Nginx, use the term memory pool to refer to a group of variable-size allocations which can be later deallocated all at once. This is also known as a region; see region-based memory management.
Memory pools, also called fixed-size blocks allocation, is the use of pools for memory management that allows dynamic memory allocation. Dynamic memory allocation can, and has been achieved through the use of techniques such as malloc and C++'s operator new; although established and reliable implementations, these suffer from fragmentation because of variable block sizes, it is not recommendable to use them in a real time system due to performance. A more efficient solution is preallocating a number of memory blocks with the same size called the memory pool. The application can allocate, access, and free blocks represented by handles at run time. Many real-time operating systems use memory pools, such as the Transaction Processing Facility. POCO offers a memory pool class, Poco::MemoryPool . Some systems, like the web server Nginx, use the term memory pool to refer to a group of variable-size allocations which can be later deallocated all at once. This is also known as a region; see region-based memory management. ==See also== Free list Object pool Slab allocation ==References== ==External links== Fast Efficient Fixed-Sized Memory Pool PGroup PJ_POOL_GROUP — PJSIP Project 2.14-dev documentation A Memory Allocator Programming with Memory Pools
References
No reference rows published for this article.
Cite this article
MLA
"Memory pool." encyclopegia.org, 2025, https://encyclopegia.org/wiki/memory-pool. Accessed 24 November 2026.
Chicago
"Memory pool." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/memory-pool.
APA
encyclopegia.org. (2025). Memory pool. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/memory-pool
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON