The GNU system provides several methods for allocating memory space under explicit program control. They vary in generality and in efficiency.
| Memory Concepts | An introduction to concepts and terminology. |
| Dynamic Allocation and C | How to get different kinds of allocation in C. |
| Unconstrained Allocation | The malloc facility allows fully generaldynamic allocation. |
| Obstacks | Obstacks are less general than malloc but more efficient and convenient. |
| Variable Size Automatic | Allocation of variable-sized blocks of automatic storage that are freed when the calling function returns. |
| Relocating Allocator | Waste less memory, if you can tolerate automatic relocation of the blocks you get. |
| Memory Warnings | Getting warnings when memory is nearly full. |