Tuesday, August 28, 2007

Memory Leak in C Program

Why do we need to test weather it is memory leak or not?

How are we going to know that?
Possibilities are:

1) Array will print "Garbage Value"

2) Message by the Compiler!

Because size of heap memory will be reduced and leaked memory can not be assigned to other processes running simultaneously in a multiprogramming environment. Throughput will go down.

No comments: