A service's private memory usage grows throughout the day and does not fall when requests finish. Restarting only that service restores available memory, but the pattern returns. What is the MOST likely cause?
Show the answer
Correct answerB. A memory leak
AWhy not this: Limited paging space can worsen resource exhaustion but does not explain steadily retained private memory.
BWhy this is right: Repeated growth without releasing unused allocations, temporarily cleared by restarting the service, indicates a leak.
CWhy not this: Process priority affects CPU scheduling, not whether the service releases unused memory.
DWhy not this: A buffer overrun writes beyond an allocated boundary rather than progressively retaining unused allocations.
A memory leak occurs when software retains allocated memory that it no longer needs, causing usage to grow over time. Insufficient paging space can worsen memory pressure but does not explain the service's persistent retention after requests finish.