Služba Microsoftu pro hostování a synchronizaci souborů.
Dear Daniel Hrbáč1,
Good day! Thank you for posting in our community. Your question is "Onedrive consumes space without downloaded files".
The issue you're experiencing, where OneDrive or SharePoint libraries appear to be consuming more space on your disk than the actual size of the files, is a common issue related to how Windows 10 handles cloud storage synchronization. Here's a breakdown of what might be happening and how to address it:
Understanding the Issue
Placeholder Files and Disk Space:
- When you sync OneDrive or SharePoint libraries, Windows may create placeholder for files that aren't fully downloaded to your PC. When you check the folder size, you might notice there are 2 sizes displaying: "size" and "size on disk". The "size on disk" is the actual usage on your disk, while the "size" is the total space kept for the files, but not really used.
Duplicate Storage Usage:
- If offline files are turned on, Windows may be caching files in multiple locations (e.g., one set in OneDrive's cache and another in the local cache), which can result in higher disk space usage.
Steps to Resolve the Issue
1. Manage OneDrive Files On-Demand Settings
- Turn On Files On-Demand: Ensure that "Files On-Demand" is enabled. This feature lets you access files stored in OneDrive or SharePoint without downloading them to your local disk.
- Right-click on the OneDrive icon in the system tray.
- Select Settings.
- Under the sync and backup tab, click free up disk space.
- This will allow files to remain online-only until you choose to open them, reducing the amount of local disk space used.
2. Check Storage Sense Settings
- Enable Storage Sense: This feature automatically manages the files on your device, helping to keep disk space free.
- Go to Settings > System > Storage.
- Turn on Storage Sense and configure it to delete temporary files, including unused cloud-backed content.
- Set how often you want Storage Sense to run and manage files in your OneDrive or SharePoint libraries.
3. Verify OneDrive Cache Size
- Clear OneDrive Cache: OneDrive caches certain files to improve performance, but if the cache grows too large, it can consume significant disk space. Clearing the cache might help.
- You can do this by pausing OneDrive sync, clearing the cache (located in C:\Users<YourUserName>\AppData\Local\Microsoft\Office\16.0\OfficeFileCache), and then resuming the sync.
Monitor the Situation
- Space Usage: After performing the above steps, monitor your disk space usage to see if the situation improves. Check whether the file sizes and available space reported by Windows are more accurate.
- File Explorer: Use File Explorer's "Details" view to compare the sizes of the files online and those stored locally.
Thank you for your cooperation and have a nice day!
Best Regards,