A memory leak occurs when programmers create a memory in the heap and forget to delete it.
-It decreases the efficiency of the performance of the system.