logo
search
OneDrive File Issues

How to Fix OneDrive Using Excessive Memory While Syncing SharePoint Libraries

Ayan MasoodAyan Masood Oct 10, 2026 870 views

Question details

OneDrive consumes gigabytes of RAM when attempting to sync massive SharePoint document libraries containing millions of Office files.

How to Fix OneDrive Using Excessive Memory While Syncing SharePoint Libraries
Product
Microsoft OneDrive and SharePoint
Device & OS
Windows
Scenario
Syncing large SharePoint libraries with local desktop via OneDrive.
Observed behavior
OneDrive memory usage spikes to several gigabytes, crippling system performance. Standard troubleshooting like resetting or reinstalling OneDrive fails to resolve the issue.
Before you start

Check the total number of files in the SharePoint library you are trying to sync; OneDrive is known to struggle when a single library or synced folder exceeds 300,000 files.

Solution 1Recommended

Enable Files On-Demand and Add Shortcuts Instead of Full Sync

Prevent massive memory consumption by using placeholders instead of downloading millions of files locally.

When you sync an entire SharePoint library recursively, OneDrive has to process the metadata for every single file. Using Files On-Demand and folder-level shortcuts drastically reduces this overhead.

1
Unlink the problematic library

Click the OneDrive cloud icon in your system tray, go to Settings (gear icon), select 'Account', find the heavily loaded SharePoint library, and click 'Stop sync'.

2
Enable Files On-Demand

In the OneDrive Settings window, navigate to the 'Sync and back up' tab, expand 'Advanced settings', and turn on 'Files On-Demand'.

3
Add shortcuts instead of syncing

Open your SharePoint library in a web browser. Instead of clicking the 'Sync' button for the whole library, select only the specific folders you need, and click 'Add shortcut to OneDrive' from the top menu.

Enable Files On-Demand and Add Shortcuts Instead of Full Sync
Memory Optimization: Using shortcuts for specific folders rather than entire libraries significantly reduces the background processing load on OneDrive, freeing up RAM.
Free Microsoft Office alternative

Struggling with OneDrive Sync? Try WPS Office and WPS Cloud

If Microsoft OneDrive and SharePoint are consuming too much memory on your computer, consider switching to WPS Office. It provides a lightweight, highly compatible Office suite with its own streamlined cloud storage, keeping your system running smoothly.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install and Launch: Run the installer, follow the on-screen instructions, and launch WPS Office.
  3. 3. Open Office Files: Drag and drop your Word, Excel, or PowerPoint files directly into WPS Office to continue your work seamlessly.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Extremely lightweight, consuming minimal system RAM and CPU during document editing.Includes free WPS Cloud storage for reliable, fast file syncing without runaway memory leaks.Familiar user interface makes switching easy with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why is OneDrive using so much RAM when syncing SharePoint?

OneDrive processes file metadata for every item in a synced library. When syncing SharePoint libraries with hundreds of thousands or millions of files, the background processing requires extensive memory, leading to severe RAM spikes.

Does resetting OneDrive fix high memory usage?

In cases where the memory spike is caused by an excessively large SharePoint library, resetting or reinstalling OneDrive usually will not help. You must reduce the number of synced files or transition to using Files On-Demand and shortcuts.

What is the file limit for syncing SharePoint to OneDrive?

Microsoft recommends syncing no more than 300,000 files across all document libraries in OneDrive. Syncing more than this threshold is highly likely to cause severe performance issues, including high RAM and CPU usage.

What is the difference between 'Sync' and 'Add shortcut to OneDrive'?

'Sync' connects the entire document library to your device recursively, which can be overwhelming for large libraries. 'Add shortcut to OneDrive' allows you to link only specific needed folders to your personal OneDrive, drastically reducing the synchronization load.