You open the gallery to take a photo, but the phone displays a notification: "Not enough memory". Go to settings - and there is only 500 MB of 64 GB free. At the same time, there is nothing superfluous in the list of applications: no heavy games, no hundreds of photos, no downloaded movies. How so? The fact is that Android reserves memory for system needs, cache and temporary files, which are not always visible to the user. Even if you delete all user data, part of the storage will remain occupied.

In this article we will look at hidden causes of memory overflow and ways to free it when there is โ€œnothing to delete.โ€ We won't advise the obvious (like deleting photos or emptying the trash), but will focus on non-obvious methods that work even on crammed devices with 16โ€“32 GB of memory. All instructions have been tested on current versions Android 12โ€“14 and are suitable for smartphones Samsung, Xiaomi, Realme, Google Pixel and other brands.

1. Clearing the application cache - why it doesnโ€™t always help

The first advice they give on the Internet is to clear the cache. But often this gives only 100-300 MB of free space, and after a day the memory is full again. Why?

The fact is that application cache are temporary files that are created to speed up the operation of apps. For example, YouTube caches videos, Google Maps caches cards, and messengers cache stickers and GIFs. Clearing the cache manually via Settings โ†’ Applications โ†’ Storage โ†’ Clear cache gives a temporary effect because:

  • ๐Ÿ”„ Applications immediately begin restoring the cache the next time startup.
  • ๐Ÿ“ Part of the cache is stored in hidden folders (for example, /data/data/), which are not visible without rootrights.
  • ๐Ÿšซ Some applications (for example, Facebook or TikTok) aggressively cache data even after cleaning.

For clearing the cache to have a real effect, use automatic tools:

  • ๐Ÿค– Built-in utility Storage and cache v MIUI (on Xiaomi/Redmi/Poco).
  • ๐Ÿงน Google Files (Google's "Files" application) - analyzes "junk" files, including remnants of deleted applications.
  • ๐Ÿ› ๏ธ SD Maid (requires root, but finds a cache that is not available with standard means).
โš ๏ธ Attention: Clearing the cache Google Play Services or Android System WebView may cause problems with Google services. Do this only if you are sure that the problem is in these applications.
๐Ÿ“Š How often do you clear the cache on your phone? phone?
Once a week
Once a month
Only when memory runs out
Never

2. Removing unnecessary APKs and leftover applications

When you delete an application via Settings or Google Play, the following are often left on the phone:

  • ๐Ÿ“ฆ APK files (installation packages) in the folder /data/app/.
  • ๐Ÿ—‘๏ธ Residual data in /data/data/ (settings, databases).
  • ๐Ÿ–ผ๏ธ Cache and media files in folders like Android/obb/ or Android/data/.

To find and remove this garbage:

  1. Open Google Files โ†’ Cleanup โ†’ Delete unnecessary files.
  2. Use Files by Samsung (on devices Samsung) โ†’ Storage analysis โ†’ Unnecessary files.
  3. For advanced users: connect the phone to the PC and through ADB execute the command:
    adb shell pm list packages -u

    It will show a list of applications with the flag -u (uninstalled), but physically still occupying space.

Pay special attention folder Android/obb/ โ€”additional game data is stored here (for example, graphic packages for Genshin Impact or Call of Duty Mobile). Even after deleting the game, these files can weigh several gigabytes.

โ˜‘๏ธ What to delete to free it up. memory

Completed: 0 / 4

3. Optimization of system applications and โ€œbuilt-in garbageโ€

Smartphone manufacturers (Samsung, Xiaomi, Huawei etc.) install on devices pre-installed applications, many of which cannot be removed using standard methods. background, even if you do not use them.

How to deal with them:

Application type How to disable/delete How much memory will be freed
System applications (Samsung Knox, Mi Video, Huawei AppGallery) Via ADB or Package Disabler (requires root) 100โ€“500 MB
Duplicate services (Two browsers, two calendars) Disable in Settings โ†’ Applications โ†’ Disable 50โ€“200 MB
System application updates Delete updates in Settings โ†’ Applications โ†’ โ‹ฎ โ†’ Delete updates 50โ€“300 MB
Branded launchers (One UI Home, MIUI Launcher) Install a third-party launcher (for example, Nova Launcher) Less memory, but speeds up work

To remove system applications without rootrights:

  1. Enable USB debugging in Settings โ†’ About phone โ†’ Build number (press 7 times).
  2. Connect the phone to the PC and run the command:
    adb shell pm uninstall -k --user 0 package name

    (You can find out the package name via adb shell pm list packages | grep "name")

โš ๏ธ Attention: Removing system applications may lead to unstable operation of the phone. Do not delete services with names com.android., com.google. or related to Modem/Telephony.
What system applications can be deleted without risk?

Safely delete duplicate applications (for example, a second browser or FM radio), branded weather widgets, pre-installed games from the manufacturer. Do not touch Google Play services. telephony, settings and system UI components.

4. Transferring data to an SD card or the cloud - myths and reality

Many people advise transferring files to SD card or to the cloud. But there are pitfalls:

  • ๐Ÿ”„ Not all applications support transfer to SD. For example, WhatsApp i Telegram do not allow saving media files to a memory card.
  • โšก SD cards of a lower class UHS-I (U3) slow down the phoneif used for storage applications.
  • โ˜๏ธ Cloud services (Google Photos, Yandex Disk) save space, but require a stable Internet connection to access files.

How to transfer data correctly:

  • ๐Ÿ“ท Photos and videos: Enable the Google Photos option Free up space (it will delete local copies, leaving thumbnails).
  • ๐ŸŽต Music and documents: Use Yandex Disk or Mega with automatic downloading.
  • ๐Ÿ“ฑ Applications on SD: V Settings โ†’ Applications โ†’ Storage โ†’ Edit (does not work on all phones).

If your phone supports Adoptable Storage (combining internal memory and SD card into one partition), this may be a solution. However:

  • โœ… Plus: applications are installed on the card automatically.
  • โŒ Minus: the card becomes โ€œtiedโ€ to the phone and is not readable on other devices.
๐Ÿ’ก

Before transferring data to an SD card, format it in the format exFAT (instead of FAT32) to avoid the file size limit of 4 GB.

5. Cleaning hidden folders and temporary files

Android creates many hidden folders that are not visible in the standard file manager. Here's where to look for "invisible garbage":

Folder What it stores How to clean
/data/log/ System error logs and debugging information Delete manually (requires root) or through ADB
/data/tombstones/ Memory dumps when applications crash You can delete all files inside
/cache/ Temporary update and recovery files Cleared through Recovery Mode
Android/data/ i Android/obb/ Data and cache of games/applications Delete folders of deleted applications

To access hidden folders:

  1. Use a file manager with support root (for example, Root Explorer or FX File Explorer).
  2. Connect your phone to the PC and via ADB execute:
    adb shell
    

    su

    rm -rf /data/log/*

    rm -rf /data/tombstones/*

If you do not have rootrights, try clearing the cache via Recovery Mode:

  1. Turn off the phone.
  2. Hold Power + Volume Up (key combination depends on the model).
  3. Select Wipe cache partition.
โš ๏ธ Attention: Deleting files in /data/ without understanding their purpose may cause the system to crash. Do not delete folders named system, vendor or boot.

6. Optimizing Android: disabling unnecessary functions

Some functions Android actively consume memory, even if you do not use them. Disable them to save space:

  • ๐Ÿ“ก Auto-update applications: Disable in Google Play โ†’ Settings โ†’ Auto-update applications โ†’ Never.
  • ๐ŸŽฅ Automatic downloading of media in messengers: Turn off auto-downloading of photos and videos. WhatsApp/Telegram disable auto-downloading of photos and videos.
  • ๐Ÿ“Š Diagnostic data: Disable sending error reports to Settings โ†’ System โ†’ Diagnostics.
  • ๐Ÿ”Š Voice assistants: Disable Google Assistant or Bixbyif not used.

Also check section "Other" in the storage analysis. They are often hidden here:

  • ๐Ÿ“„ Downloaded files from the browser (folder Download).
  • ๐ŸŽฌ Streaming video cache (Netflix, YouTube, Twitch).
  • ๐Ÿ“ง Attachments from mail (Gmail or Outlook).

To find these files:

  1. Open Google Files โ†’ Categories โ†’ Downloads or Media.
  2. Sort files by size and delete unnecessary ones.
๐Ÿ’ก

Disabling auto-updates of applications and auto-downloading of media in messengers can save up to 1-2 GB of memory per month.

7. Resetting to factory settings is a last resort

If all methods have been tried and the memory is still full, the only option left is factory reset (Hard Reset). data-i="256">๐Ÿ—ƒ๏ธ All user data and settings.

  • ๐Ÿ—ƒ๏ธ All user data and settings.
  • ๐Ÿงน Remains of deleted applications and cache.
  • ๐Ÿ”ง System errors leading to memory โ€œleakโ€.

How to reset correctly:

  1. Save important data (contacts, photos, messages) to the cloud or on your PC.
  2. Go to Settings โ†’ System โ†’ Reset settings โ†’ Delete all data.
  3. After reset do not restore the backup copy โ€”install only the necessary applications.

If after a reset the memory quickly fills up again, the problem may be:

  • ๐Ÿ› ๏ธ Faults flash memory (cell wear NAND).
  • ๐Ÿค– Firmware errors (for example, after an unofficial update).
โš ๏ธ Attention: On some phones (Xiaomi, Realme) after the reset, there may be blocked space due to encryption. In this case, it will help. only flashing.

8. Alternative solutions: cloud phones and external drives

If the internal memory is hopelessly small (for example, 16 GB), and you are not planning to buy a new phone, consider:

  • โ˜๏ธ Cloud smartphones: Services like Shadow or GeForce NOW allow you to run games and applications on a remote server without taking up space on the phone.
  • ๐Ÿ’พ External SSD drives: Through OTG adapter you can connect a flash drive or hard drive (for example, Samsung T7 Shield).
  • ๐Ÿ“ฑ Second phone: Some users store media files on an old smartphone connected as a USB drive.

To connect an external drive:

  1. Buy OTG adapter (for example, USB-C to USB-A).
  2. Connect a flash drive or SSD.
  3. In the file manager select External storage and transfer files there.

Disadvantages of this method:

  • โšก Requires a permanent connection to the drive.
  • ๐Ÿ”‹ Battery consumption increases by 10โ€“15%.
๐Ÿ’ก

To save space on your phone, set the download quality to Google Photo: High (free) file system features download quality High (free) instead of OriginalThis will reduce the weight of the photo by 2-3 times without a noticeable loss of quality.

FAQ: Frequently asked questions about clearing memory on Android

โ“ Why is memory not freed after deleting files?

This happens due to the nature of the file system Android (F2FS or ext4).Deleted files do not immediately disappear from the disk - they are marked as free, but may remain in the cache. Reboot the phone or use the command:

adb shell sync

If the problem persists, check the phone for viruses or file system errors via fsck.

โ“ Is it possible to increase the memory on Android programmatically?

No, you cannot physically increase the amount of internal storage. However, you can:

  • Use SD card in Adoptable Storage (combines the memory of the card and phone).
  • Connect external SSD via OTG.
  • Optimize current storage (delete cache, transfer files to the cloud).
โ“ Why do system applications take up so much space?

Manufacturers often install on phones:

  • Duplicate services (two browsers, two music players).
  • Branded shells (One UI, MIUI, EMUI), which weigh 4โ€“8 GB.
  • Pre-installed games and applications (for example, Netflix, Facebook) that cannot be deleted.

The problem can be partially solved by disabling or deleting these applications via ADB.

โ“ How to clear memory if the phone does not turn on?

If the phone does not boot due to lack of memory, try:

  1. Boot into Safe Mode (hold Power + Volume Down when turning on).
  2. Connect the phone to the PC and via ADB delete large files:
    adb shell
    

    su

    rm -rf /sdcard/DCIM/*.mp4

  3. Reset settings via Recovery Mode (Wipe data/factory reset).
โ“ Why did the memory decrease after updating Android?

Updates Android often take up additional space due to:

  • New system applications.
  • Increasing partition size /system.
  • Creating backup copies of old files (folder /cache/ota).

To free up space:

  1. Delete old updates in /cache/ via Recovery.
  2. Clear the cache Google Play Services.