The situation when a smartphone suddenly displays a notification about lack of space is familiar to many users. You check your download list, delete a couple of old photos, but the storage indicator still remains red. This is puzzling: where do the gigabytes disappear if you haven’t downloaded new applications or heavy videos? The problem lies not in your actions, but in the background processes of the operating system and the operation of installed apps.

Data accumulation occurs unnoticed by the device owner. System cache, error logs, temporary messenger files and update data - all this takes up space in the section /data. Over time, these files grow, turning into “digital garbage” that blocks the normal operation of the gadget. Understanding the nature of these files is the first step to freeing up space.

In this article we will examine in detail the mechanisms for filling the internal memory using the example of devices running Android 11, Android 12 and newer. You'll learn how to find hidden gigabyte eaters, why a folder may weigh more than your entire gallery, and what settings you need to change right now. System cache and temporary application files Android/obb may weigh more than your entire gallery, and what settings need to be changed right now.

System cache and temporary application files

The main culprit in the mysterious disappearance of a place is most often the cache. Each installed application creates temporary files to speed up its operation. Browsers save copies of web pages, maps save fragments of terrain, and social networks save thumbnails of images. This data is needed for performance, but it is not deleted automatically.

Over time, the cache size can reach tens of gigabytes. This is especially true for applications that you use daily. For example, YouTube or TikTok caches video streams, even if you have not downloaded them for offline viewing. The system considers these files useful, so it does not delete them during normal emptying of the recycle bin.

To free up space, you must manually clear the cache of the most “gluttonous” apps. Go to Settings → Applications, select the desired application and click “Storage”. There you will see a “Clear cache” button. This is safe and will not delete your personal data, logins or progress in games.

However, there is a nuance: after clearing the cache, some applications begin to work slower when first launched, since they have to re-download data from the network. This is normal behavior. Caching is a compromise between speed and space taken up.

💡

Use the built-in “Free up space” function in the storage settings. It automatically finds large files and rarely used applications that can be deleted.

Messengers: hidden databases and media files

Messengers like WhatsApp, Telegram and Viber are leaders in memory consumption. Even if you don't manually save photos to the gallery, apps create their own copies of media files in system folders. Moreover, they store databases of correspondence, which over time can swell to incredible sizes.

V Telegram, for example, by default the setting is enabled to automatically save all received photos and videos to the application cache. If you are a member of dozens of channels and chats, this cache can take up 5, 10, or even 20 GB of space. At the same time, these files may not be displayed in the general gallery of the phone, creating the illusion that the space is occupied by “nothing.”

To solve the problem, you need to go to the settings of the messenger itself. In Telegram this is the section Data and memory → Memory usage. There you can see the exact cache size and set a limit, for example, 500 MB. As soon as the cache exceeds this value, old files will be deleted automatically.

In WhatsApp the situation is similar, but files are often duplicated. Check the folder WhatsApp/Media/.Statuseswhere the statuses of contacts that you haven’t even opened are saved. Regularly cleaning these directories through a file manager will help you regain free space.

📊 Which application takes up the most space on your phone?
Telegram
WhatsApp
Instagram
System files
I don’t know

System logs and error reports

The Android operating system constantly keeps an event log. It records information about the operation of processes, network connections and failures. In normal mode, these logs take up minimal space and are cyclically overwritten. However, if there are software errors, the logging process can get out of control.

If some system application or Google service constantly produces an error, it can create reports about it endlessly. Log files begin to grow in size, filling the memory partition. This often happens after an unsuccessful firmware update or when there is a conflict of access rights for root applications.

It is difficult for the average user to find these files without special utilities, since they are often hidden in system partitions. However, you can notice indirect signs: the phone begins to heat up even when idle, and the battery discharges faster than usual. This indicates that the processor is busy writing data to log files.

To correct the situation, simply restarting the device in safe mode or resetting the network settings often helps. In more complex cases, you need to connect to a computer and use USB debugging to view system logs via adb logcat.

⚠️ Attention: Do not try to manually delete files from system folders through a file manager without superuser rights. This may cause the phone to stop booting (bootloop).

Residual files after deleting applications

When you delete an application in the standard way, through settings or the main screen, the operating system deletes only the executable file of the app (.apk). Folders with data, settings and cache often remain on the disk. This is done intentionally: if you reinstall the application, your saves and settings will be restored.

The problem occurs when you delete a game or app permanently, and its “tails” are left taking up space. Heavy games such as PUBG or Genshin Impactcan leave behind gigabytes of data in the Android/obbfolder. These files are not visible in the list of installed applications, but physically take up space in the internal memory.

To find and remove such junk, use a file manager. Go to directory internal_storage/Android. There you will find folders data and obb. Inside them are folders with the names of packages of remote applications (for example, com.example.game). If the application is no longer in the list of installed ones, you can safely delete this folder.

Be careful when deleting: do not touch the folders of system services or applications that you continue to use. The error may lead to the reset of progress in games or loss of data in instant messengers.

☑️ Checking residual files

Done: 0 / 4

Hidden updates and backups

Another reason for memory filling is background updates. Google Play Store and phone manufacturers often download update packages in advance. These files can weigh several gigabytes and are stored in a hidden partition until installation. If the update freezes or does not install correctly, the file remains a dead weight.

It is also worth paying attention to local backups. Some Android shells (for example, from Xiaomi or Samsung) can automatically create full system backups to internal memory. These files usually have the extension .bak or are located in the folder MIUI/backup. They are needed to quickly restore your phone, but they take up a lot of space.

Check your cloud service settings. Sometimes synchronization of photos in full resolution with saving a local copy is enabled. In this case, you have both the original and a compressed version for the cloud stored on your phone, which doubles the resource consumption.

Data type Where to look Can I delete Risk of data loss
Application cache Settings → Applications Yes, safe No
OBB folder Android/obb Only from remote games High (loss of progress)
System logs Hidden system partitions Only through reset No
Backup copies MIUI/backup or analogue Yes, if there is a backup in the cloud Medium (impossibility of rollback)
What is a swap file on Android?

Some users notice the swap file taking up space. This is virtual memory used by the system to run heavy applications. It is not recommended to remove it; it may cause apps to crash.

How to diagnose and clear memory: step-by-step guide

If automatic tools do not help, you will have to act manually. The first step is to understand what exactly is taking up space. The built-in storage analyzer often shows data in general terms, so it is better to use third-party utilities such as Files by Google or DiskUsage. They visualize memory in the form of a map of blocks.

After identifying the largest files, analyze their purpose. If this is the cache of a streaming service, feel free to clear it. If this is a folder named tombstones at the root of the system - these are reports of application crashes, they can also be deleted. The main thing is not to touch files with the extension .img or .bin in the root directory.

For deep cleaning, you can use Recovery Mode. Most stock firmwares have the item Wipe Cache Partition. This action will clear the system cache without affecting your personal photos and contacts. This is an effective way to solve the problem if the memory is clogged with system garbage after an update.

Entering recovery mode is done using a combination of buttons when the phone is turned off (most often Volume Up + Power). Navigation is carried out with the volume buttons, selection is done with the power button. Be extremely careful: item Wipe Data/Factory Reset will delete everything from the phone!

💡

Using Recovery mode to clear the cache partition is the most effective way to remove system junk that is not visible through the file manager.

⚠️ Attention: The Recovery menu interface differs on different phone models. Before pressing the buttons, check the instructions for your specific model Samsung, Xiaomi or Pixelto avoid resetting the device to factory settings by mistake.
💡

Before manually cleaning system folders, make a complete backup copy of important data to your computer or cloud storage. A mistake in one character when deleting can make the system unbootable.

Prevention of memory filling in the future

To prevent the problem from returning, change your smartphone usage habits. Disable autosaving of media files in instant messengers. Set up automatic cache clearing once a week using built-in task schedulers or cleaner apps, but choose only proven tools.

Check your Downloads folder regularly. Often installation files accumulate there .apkthat have already been installed but not deleted. Also keep an eye on system updates: sometimes a bug with memory filling is only fixed by a new security patch from the manufacturer.

If you have a phone with a small amount of built-in memory (32-64 GB), consider transferring media files to a memory card (if a slot is provided) or using cloud storage with the “free up space” function, which deletes local copies after uploading to the cloud.

Why does the memory fill up immediately after resetting the settings?

If after a full reset (Factory Reset) the memory quickly fills up again, the phone is probably automatically restoring a backup from the Google cloud or the manufacturer's account. During the recovery process, all previously installed applications and their data are downloaded. The system can also index files and create previews, which temporarily takes up space.

Is it possible to delete the Android folder completely?

No, deleting the entire folder Android is absolutely not possible. It stores critical data for the operation of all installed applications. Deleting this folder will cause apps to stop running and lose settings and access to files. You can only delete specific subfolders inside it that belong to deleted applications.

Does the number of photos in the gallery affect the speed of the phone?

Yes, it does. When the internal memory is more than 90% full, the speed of writing and reading data drops. This happens due to the way flash memory works. The phone starts to slow down, cameras take a long time to save pictures, and applications crash. Always leave at least 10-15% of free memory for the system to function correctly.

What is a .nomedia file and why do you need it?

The file .nomedia is an empty file that tells the gallery and media players to ignore this folder. If there is no this file in the cache or documents folder, the system tries to index all the files inside as photos or music, which creates unnecessary load and can duplicate the display of files in the gallery.

Is it true that viruses fill up memory?

Malware can really clog up memory by creating thousands of empty files or downloading hidden miners and botnets. If you notice a sharp increase in occupied space for no apparent reason and suspicious activity (pop-up ads, heating), scan your device with an antivirus, for example Dr.Web or Kaspersky.