
Memory Leak
A memory leak occurs when a computer program creates temporary data (called memory) to perform tasks but fails to free up that memory after it's no longer needed. Over time, these unused chunks accumulate, reducing the available memory for other tasks. This can slow down or crash the system because it runs out of memory. Think of it like a cluttered desk where papers are piled up endlessly; eventually, there's no space left to work efficiently. Proper management of memory is crucial to prevent leaks and ensure smooth computer operation.