Next: Activating Memory Tracing
Up: Advanced Thorn Writing
Previous: Example
Contents
Memory Tracing
Cactus provides a mechanism for overriding the standard C memory
allocation routines (malloc, free, ...) with Cactus specific
routines that track the amount of memory allocated, and from where, the
allocation call was made. This information can be accessed by the user
to provide an understanding of the memory consumption between two
instances, and to track down possible memory leaks. This feature is
available in C only.
Subsections
|