Fix "Storage Space Running Out" Error on Android

beginner๐Ÿ“ฑ Android2026-03-22| Android 8.0 and above (all OEM variants: Samsung, Xiaomi, Oppo, OnePlus, Pixel)

Error Message

Storage space running out. Some system functions may not work.
#android#storage#space#cleanup

What Triggers This Error

Android throws "Storage space running out. Some system functions may not work." when internal storage drops below a threshold โ€” typically 500 MB to 1 GB, though Samsung and Xiaomi devices sometimes trigger it earlier, around 300 MB. Once that line is crossed, the OS begins throttling background processes, blocking app updates, and restricting certain system writes.

The result? App crashes mid-session, photos that silently fail to save, and update loops where the Play Store retries the same download repeatedly. The usual culprits:

  • App cache bloat โ€” Chrome alone can quietly stack up 2โ€“3 GB
  • Duplicate or forgotten files sitting in Downloads and DCIM
  • WhatsApp and Telegram media that auto-saves every forwarded video
  • Offline maps, podcast episodes, or Netflix downloads you watched once and forgot
  • Leftover data from apps you uninstalled months ago
  • OTA packages Android didn't clean up after a system update

Check Available Storage First

Don't start deleting blindly. Get a real breakdown of what's eating your space.

Quickest on-device path: Settings โ†’ Storage (exact label varies โ€” Samsung calls it "Device Care โ†’ Storage", Xiaomi uses "Phone Storage"). You'll see a bar chart broken down by category.

For a sharper view via ADB:

# Connect device with USB debugging enabled
adb shell df -h /data

# Sample output:
# Filesystem      Size  Used Avail Use% Mounted on
# /dev/block/...   64G   63G  512M  99% /data

# Drill down to find the biggest folders
adb shell du -sh /data/media/0/* 2>/dev/null | sort -rh | head -20

Quick Win: Clear App Cache

Start here. On a heavily-used device, cache alone can free 1โ€“4 GB in under a minute.

Option 1 โ€” Device Settings

Settings โ†’ Storage โ†’ Cached data โ†’ Clear (Android 8/9 only โ€” one tap clears everything)

Android 10 and above removed the bulk option. You have to do it per-app: Settings โ†’ Apps โ†’ [App name] โ†’ Storage โ†’ Clear Cache

Option 2 โ€” ADB (all apps at once)

# Works on debug builds; rooted devices get full effect
adb shell pm trim-caches 1000G

# Alternative: reboot to recovery and wipe cache partition
# This is safe โ€” it does NOT touch personal data or app settings

If ADB isn't an option, hit these apps manually โ€” they're the worst offenders:

  • Chrome / Firefox โ€” 1โ€“3 GB is common on daily-use devices
  • Instagram, TikTok, YouTube โ€” each can hold 500 MB+ in cached thumbnails and videos
  • Google Maps (offline maps are stored separately and can be deleted from within the app)
  • Spotify / Netflix โ€” downloaded content adds up fast

Step-by-Step Fix

Step 1 โ€” Hunt Down Large Files

# List everything over 100 MB in internal storage
adb shell find /sdcard -size +100M -type f 2>/dev/null

# Example output:
# /sdcard/Download/movie.mp4
# /sdcard/WhatsApp/Media/WhatsApp Video/VID-20241201.mp4

# Delete a specific file
adb shell rm "/sdcard/Download/movie.mp4"

# Wipe the entire Downloads folder (double-check first)
adb shell rm -rf /sdcard/Download/*

Step 2 โ€” Gut the WhatsApp and Telegram Media Folders

WhatsApp auto-saves every photo, video, and voice note sent to you โ€” even in group chats. On an active group chat user, this folder hits 5โ€“10 GB within months.

# See how bad it is
adb shell du -sh /sdcard/WhatsApp/Media/

# Remove sent and received videos (largest category)
adb shell rm -rf "/sdcard/WhatsApp/Media/WhatsApp Video/Sent/"
adb shell rm -rf "/sdcard/WhatsApp/Media/WhatsApp Video/"

# Telegram equivalent
adb shell rm -rf /sdcard/Telegram/Telegram\ Video/
adb shell rm -rf /sdcard/Telegram/Telegram\ Images/

Step 3 โ€” Uninstall Unused Apps (and Their Data)

# List all user-installed apps
adb shell pm list packages -3

# Uninstall one
adb shell pm uninstall com.example.unusedapp

# Check how much space a specific app is using
adb shell dumpsys package com.example.app | grep dataDir

Step 4 โ€” Remove Leftover OTA Packages

After a system update, Android sometimes leaves the full OTA package sitting in /data/ota_package/. These run 1โ€“3 GB and serve no purpose post-update.

# Rooted devices only
adb shell
su
ls -lh /data/ota_package/
rm -rf /data/ota_package/*

No root? Check Settings โ†’ Storage โ†’ System โ€” some OEMs (notably Xiaomi and Oppo) surface an "Update files" entry you can delete directly.

Step 5 โ€” Move Files to SD Card

# Confirm the SD card is mounted
adb shell df -h | grep /mnt/media_rw

# Move your photos folder over
adb shell mv /sdcard/DCIM /mnt/sdcard/DCIM

Apps that support adoptable storage (Android 6+): go to Settings โ†’ Apps โ†’ [App] โ†’ Storage โ†’ Change to shift app data to the SD card. Not all apps support this โ€” games and media apps usually do.

Keeping It Clean Long-Term

Google Photos: Back Up, Then Free Up

Back up everything first. Then, inside the Google Photos app, go to Library โ†’ Free up space. It removes local copies of photos already backed up to the cloud โ€” typically 3โ€“10 GB on a device that's been in use for a year or more.

# The app handles this โ€” no ADB needed
# Library โ†’ Free up space โ†’ Free up [X] GB

Auto-Delete Old Downloads

Android 11 added a low-key useful setting most people never enable:

Settings โ†’ Storage โ†’ Downloads โ†’ Auto-delete โ€” flip it on to automatically remove downloaded files after 30 days.

Monitor Storage Before It Gets Critical

# Run this periodically to track overall usage
adb shell df -h /data | awk 'NR==2 {print "Used: " $3 " / " $2 " (" $5 ")"}'>

# Full per-app breakdown
adb shell dumpsys diskstats

Swap Bloated Apps for Lighter Alternatives

  • Facebook Lite instead of Facebook (saves ~200 MB of install size alone)
  • Twitter/X via the browser instead of the app
  • YouTube Go instead of YouTube, where available

Verify the Fix

# Check storage after cleanup
adb shell df -h /data

# Reboot, then confirm the warning is gone
adb shell getprop | grep storage

# The notification clears automatically once free space exceeds ~1 GB

On-device confirmation: Settings โ†’ Storage โ€” you want "Available" to show at least 1.5โ€“2 GB for comfortable headroom. The "Storage space running out" notification dismisses itself once Android sees enough free space. No manual dismissal needed.

Still Full After All That?

  • Check system app data: Settings โ†’ Apps โ†’ Show system apps and look for anything with unexpectedly large storage usage
  • On rooted devices, run du -sh /data/data/* | sort -rh | head -20 to surface bloated app data directories
  • Factory reset as a last resort โ€” back up contacts, photos, and app data via Settings โ†’ Backup before doing anything irreversible

Related Error Notes