A memory management functions system enables an efficient memory
management programming errors. The system includes a server code that
reports detailed trace data showing memory management calls; memory that
was allocated but not freed; memory requested to be freed that was not
allocated; corrupted memory immediately following the allocated space;
and incorrect exit from a stored procedure that bypasses reporting and
memory cleanup. In addition, the present system frees on exit, memory
leaks or memories that were allocated but not explicitly freed earlier.
These features allow a programmer to more readily easily detect and debug
memory management errors within their program code.