Multiple choice › Efficient execution (memory and exceptions)
Efficient execution (memory and exceptions)
1. Efficient execution (memory and exceptions)
A program keeps allocating memory for temporary objects and never releases it, so it gradually slows and crashes. This is a:
- Race condition
- Syntax error
- Logic error in the user interface
- Memory leak
Answer
D
Failing to free memory that is no longer needed is a memory leak. Memory management is a syllabus topic under efficient execution.