How to fix ERROR_CLOUD_FILE_INSUFFICIENT_RESOURCES (387)

Code:387 (0x183)

Description

The cloud sync provider failed to perform the operation due to low system resources.

OneDrive or the Windows Cloud Files API could not complete the requested file operation because the system ran out of memory, file handles, or other critical resources needed to hydrate or sync cloud files.

Causes

  • The system is critically low on available RAM, leaving no headroom for OneDrive's sync operations.
  • Too many files are being synced simultaneously, exhausting available system handles.
  • The paging file (virtual memory) is too small to support active cloud file operations.
  • Other memory-heavy applications are crowding out OneDrive's background services.
  • A memory leak in a running application is gradually consuming available resources.

Solutions

Free Up RAM

Close unused applications, especially memory-intensive ones like browsers with many tabs, video editors, or virtual machines. Use Task Manager (Ctrl + Shift + Esc) to identify the top memory consumers and terminate non-essential processes.

Increase Virtual Memory

  1. Open Control Panel > System > Advanced system settings.
  2. Under the Advanced tab, click Settings under Performance.
  3. Go to the Advanced tab and click Change under Virtual memory.
  4. Uncheck Automatically manage paging file size and set a custom size (e.g., 1.5× your RAM as the initial size).

Reduce OneDrive Sync Scope

In OneDrive settings, use Choose folders to limit which folders are actively syncing. Reducing the number of files being monitored lowers the resource demands on the sync engine.

Restart OneDrive

Quit and restart OneDrive to clear any accumulated resource usage in the sync process. Right-click the taskbar icon and select Quit OneDrive, then relaunch from the Start menu.

Restart Your PC

A full reboot clears memory leaks and resets all system resources, often resolving transient resource exhaustion errors.

Upgrade RAM

If resource exhaustion errors are frequent and your system is near its RAM ceiling during normal use, adding more physical memory is the most reliable long-term fix.