During a maintenance review, a technician finds that an automation script allocates large data structures but never explicitly frees the memory after each run. If this script continues to run on a schedule without modification, which of the following problems is MOST likely to occur?
Overall CPU utilization will permanently drop, leading to slower processing but no stability issues.
Disk fragmentation will rapidly increase because unreleased memory blocks are written to disk.
The system's available memory will steadily decrease, eventually degrading performance or causing crashes.
The script file will be automatically quarantined by antivirus software due to excessive memory use.
Failing to release memory after it is no longer needed results in a memory leak. Each time the script runs, additional RAM is consumed but not returned to the operating system; over time the available memory shrinks. As free memory becomes scarce, the OS must page to disk more frequently, overall performance degrades, and the system can eventually freeze or crash. Antivirus actions, CPU throttling, or disk fragmentation are not typical direct consequences of a memory leak.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a memory leak?
Open an interactive chat with Bash
How does the operating system handle low memory caused by a memory leak?
Open an interactive chat with Bash
How can memory leaks in scripts or programs be resolved?
Open an interactive chat with Bash
CompTIA A+ 220-1102 (V14)
Operational Procedures
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .