The Apache Agent uses the Apache Portable Runtime (APR) pools for allocation of most data: either the configuration-time pool for storing configuration variables or request-time pools for processing sessions.
Heap is used only for temporary data with a short usage time and sensitive size, such as:
- Dynamic reallocations on compressed-token decompression
- Parsing session information
- Operations with the OpenToken library