[Term of the Day]: Memory Leak

[Term of the Day]: Memory Leak




Term of the Day

 

"Memory Leak"

 

What is Memory Leak?



Memory leak, also known as space leak is a condition that occurs when a programmer dynamically allocates additional memory to hold data and variables that are required for the moment but fails to include the following code to release the allocated memory space when it is no longer required for the program.

This persistently retains a computer's primary memory and gradually deteriorates the system performance that occurs over time. When this occurs, a user could experience a drop in his computer's performance or hardware device as the program may continue to consume the additional memory until the system is exhausted or causes a crash.

Microsoft Windows users can identify memory leaks using the resource monitor tool; Check this article that explains the steps to fix the memory leak on a windows machine.