What is memory leak in Unix?

What is memory leak in Unix?
Answer
A memory leak occurs
when memory is allocated and not freed after use, or when the pointer to a memory allocation is deleted, rendering the memory no longer usable. Memory leaks degrade performance due to increased paging, and over time, cause a program to run out of memory and crash.
 

Tìm kiếm

Back
Top