next up previous
Next: Use of virtual Up: Ownership Previous: Passing objects by

Memory leaks

A memory leak is some allocation of memory which is not deallocated once it is no longer needed. The term describes the situation in which memory dribbles away and is lost, not available to be used again. Memory leaks cause a program to appear to use more memory over time than they should. Severe leaks may cause a program to run out of memory. This is especially trouble-some for a program like a parallelizing compiler which tends to use much memory, especially when compiling large programs.



next up previous
Next: Use of virtual Up: Ownership Previous: Passing objects by



Jay Hoeflinger
Mon Apr 21 11:52:18 CDT 1997