Quick fix: Open Task Manager → Performance tab. Watch the Up time value. If your PC’s up time is over 7 days and feels sluggish, a simple reboot resets the memory state. To avoid the gradual slowdown, fix the underlying causes: memory leaks in long-running apps, swap file thrash, and accumulating temporary files.
You boot your PC Monday morning. By Friday it’s noticeably slower — window animations stutter, apps take longer to open, browser tabs pause when switching. Then you reboot Saturday morning and everything is fast again. The gradual slowdown is real, not in your head. Three factors compound: app memory leaks, page file growth, and accumulated temp files.
Affects: Windows 11 (and Windows 10) on PCs left on for long periods.
Fix time: ~30 minutes to investigate; varies to resolve.
What causes this
Three independent factors compound over uptime. Memory leaks: long-running apps (browsers, IDEs, chat apps) gradually consume more RAM than they release. By day 7, your 16 GB might be 90% used by “leaked” memory. Page file growth: as RAM fills, Windows swaps to the page file. The page file fragments on disk, making future swaps slower. Temp file accumulation: %TEMP%, browser caches, and app caches grow steadily until disk operations slow.
Reboot resets all three: leaked memory returns to free, page file gets re-evaluated, and Windows clears parts of temp on shutdown. The slowdown isn’t Windows itself — it’s state accumulation.
Method 1: Identify the leaking apps
Find which apps grow over time without releasing memory.
- Open Task Manager. Click Performance → Memory.
- Note “In use” value (e.g., 12.5/16 GB). This is what you’re investigating.
- Switch to Processes tab. Sort by Memory column.
- Note which processes use the most memory. Common offenders:
- Browser processes (chrome.exe, msedge.exe, firefox.exe) — each tab grows over time.
- Slack/Discord/Teams — Electron-based apps leak especially on long sessions.
- IDEs (Visual Studio, IntelliJ) — heavy memory but predictable.
- Antivirus (MsMpEng.exe, third-party AV) — should be stable; growth indicates an issue.
- For finer detail: open Resource Monitor → Memory tab. Sort by Commit. Note the top processes’ commit values now. Compare against same processes 24 hours later.
- If a process’s Commit grew significantly without doing more work, that’s the leak.
- Quit and restart the leaking app daily. Browsers:
Ctrl + Shift + Wcloses all windows; reopen. - For Electron-based apps that leak hard: restart on a schedule. Task Scheduler can auto-restart at 3 AM.
Identifying the culprit is half the battle.
Method 2: Trim memory and reset page file
For when you want to recover memory without rebooting.
- Open Terminal (Admin).
- Force memory trim across all processes:
Get-Process | ForEach-Object { try { $_.MinWorkingSet = $_.MinWorkingSet } catch {} }This signals each process to release unused working-set memory. Some won’t respond, but the ones that do can free hundreds of MB collectively.
- For Empty Standby List (cached files in RAM that aren’t actively needed): download RAMMap from Sysinternals. Open as admin, click Empty → Empty Standby List. Frees 500 MB–2 GB on PCs with active disk usage.
- Page file: set to System managed for stability. Settings → System → About → Advanced system settings → Performance → Settings → Advanced → Virtual memory → Change. Tick Automatically manage paging file size for all drives.
- For best performance, disable hibernation file growth:
powercfg /h off. Frees space equal to RAM size for use elsewhere. - Clear standby memory automatically on schedule: Task Scheduler — create task to run
EmptyStandbyList.exe(free tool from wj32.org) every 3 hours.
This recovers memory without rebooting. Less invasive than a full restart.
Method 3: Optimize for uninterrupted long uptime
For workstations and servers that need to stay up for weeks.
- Disable Windows Update auto-restart: Settings → Windows Update → Advanced options → Pause updates for 5 weeks (extend as needed). Schedule manual reboots instead.
- Set apps to memory-light alternatives:
- Chrome → Edge with sleeping tabs (more aggressive memory management).
- Slack desktop → Slack web app (less memory leak).
- Teams desktop → Teams in browser (sometimes lighter).
- Disable startup apps you don’t need running constantly. Settings → Apps → Startup — disable items labeled High impact that aren’t essential.
- For long-running browsers: install The Great Suspender (or similar) to auto-discard inactive tabs.
- Schedule overnight maintenance: Task Scheduler → Microsoft → Windows → Defrag. Confirm Schedule defragmentation is enabled, weekly. For SSDs, this triggers TRIM rather than defrag, which keeps SSD performance.
- Run Disk Cleanup weekly via scheduled task:
cleanmgr /sagerun:1after first configuring withcleanmgr /sageset:1. - Monitor with PerfMon: Performance Monitor can log memory and disk I/O over days to identify when degradation begins.
This combination keeps a PC fast over 7+ days of uptime.
How to verify the fix worked
- Run Task Manager → Performance. Note Memory “In use” and disk activity over the day — numbers shouldn’t grow steadily.
- After Method 2’s memory trim, the “In use” value should drop by hundreds of MB.
- Performance subjectively returns to recently-rebooted feel: window animations smooth, apps open quickly.
If none of these work
If performance still degrades despite identifying and restarting leaking apps, the cause may be hardware. Check SSD health: aging SSDs have unpredictable latency. Run CrystalDiskInfo. Health Status should be Good. TBW (Total Bytes Written) should be well under the drive’s rated maximum. Replace if degraded. Check RAM: faulty RAM causes intermittent slowdowns. Run Windows Memory Diagnostic (search Start menu) — takes 30 minutes to test. If errors: replace the affected DIMM. Check thermal throttling: open Task Manager → Performance → CPU. If Base speed drops below the CPU’s rated speed during heavy load, the CPU is throttling due to heat. Clean dust from fans/heatsinks, repaste CPU if needed. For PCs that consistently slow over uptime regardless of fixes: a fundamental Windows install issue. Reset This PC → Keep my files. Refreshes Windows while preserving documents.
Bottom line: Long-uptime slowdown is mostly memory leaks in apps, page file fragmentation, and temp file accumulation. Identify leaking apps via Task Manager, restart them on schedule, and trim memory periodically.