What is a memory leak?

Its an scenario where the program has lost a reference to an area in the memory. Its a programming term describing the loss of memory. This happens when the program allocates some memory but fails to return it to the system

Re: What is a memory leak?

The memory which is initialised in the program but due to some reason we cant able to use that memory is called memory leak.

 
 

Re: What is a memory leak?

Memory leak is unintentional memory consumption by a computer program, where the program fails to release the memory when no longer needed. This condition is normally the result of a bug in a program that prevents it from freeing up memory that it no longer needs.