The error message “Out of memory or system resources. Close some windows or programs and try again” in Outlook occurs when the application cannot secure enough memory or system resources to perform essential tasks. Users may notice Outlook crashing, freezing, or failing to open folders and attachments, even on systems with ample RAM. This issue is often linked to oversized data files, excessive add-ins, corrupted profiles, or system configuration limits. Addressing this problem requires targeted steps to free up resources, repair data files, and adjust system settings.
Reduce Unnecessary Outlook Data Files and Profiles
Step 1: Open Outlook and click on File
in the top menu. Select Account Settings
, then choose Account Settings
again from the dropdown.

Step 2: Navigate to the Data Files
tab. Review the list of connected PST (Personal Storage Table) or OST (Offline Storage Table) files. Select any data files that are no longer needed and click Remove
to disconnect them from Outlook. This step reduces the load on Outlook's memory management and can resolve resource exhaustion errors.

Step 3: If you have multiple Outlook profiles, consider removing unused profiles by searching for Control Panel > Mail > Show Profiles
and deleting any that are not required. Fewer profiles mean Outlook allocates less memory at startup.

Repair Corrupted Outlook Data Files
Step 1: Close Outlook completely. Locate the Inbox Repair Tool, ScanPST.exe
, in your Office installation directory. Common paths include C:\Program Files\Microsoft Office\root\OfficeXX\
where XX
matches your Office version.
Step 2: Double-click ScanPST.exe
to launch the repair tool. Click Browse
and select the PST or OST file you want to repair. Click Start
to begin scanning the file for errors.

Step 3: Once the scan completes, review any errors found. Click Repair
to fix detected issues. After the repair finishes, restart Outlook and check if the memory error persists. Repairing corrupted data files reduces unnecessary memory consumption and prevents Outlook from attempting to load damaged data.
Reduce Cache Size via Registry Editor
Step 1: Close Outlook. Press Windows + R
to open the Run dialog, type regedit
, and press Enter
to launch the Registry Editor. If prompted by User Account Control, allow the app to make changes.

Step 2: Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Office\XX.X\Outlook\PST

Replace XX.X
with your Outlook version (e.g., 16.0 for Outlook 2016).
Step 3: Right-click in the right pane, select New
> DWORD (32-bit) Value
. Name the new value UseLegacyCacheSize
.

Step 4: Double-click UseLegacyCacheSize
, set its value data to 1
, and click OK
. This instructs Outlook to use the legacy cache size, which can help prevent resource exhaustion when working with large data files.

Step 5: Close the Registry Editor and restart your computer to apply the changes.
Optimize System and Virtual Memory Settings
Step 1: Right-click This PC
or My Computer
and select Properties
. Click Advanced system settings
on the page that opens.

Step 2: Under the Advanced
tab, click Settings
in the Performance
section. In the new window, go to the Advanced
tab and click Change
under Virtual memory
.

Step 3: Uncheck Automatically manage paging file size for all drives
. Select your system drive, choose Custom size
, and increase both the initial and maximum size values according to your system’s available storage and RAM (for example, set both to at least 4096 MB for 4GB, but higher for modern systems).

Step 4: Click Set
, then OK
. Restart your computer to allow Windows to allocate the new virtual memory settings. Increasing virtual memory gives Outlook more resources to work with, especially on systems with limited physical RAM.
Disable Faulty or Excessive Add-Ins
Step 1: Press Windows + R
, type Outlook.exe /safe
, and press Enter
to start Outlook in Safe Mode. This loads Outlook without any third-party add-ins.

Step 2: In Outlook, go to File
> Options
> Add-ins
. At the bottom, select COM Add-ins
from the dropdown and click Go
.

Step 3: Uncheck all add-ins and click OK
. Close Outlook and restart it normally.
Step 4: Re-enable add-ins one by one, restarting Outlook after each. If the error reappears after enabling a specific add-in, disable or uninstall that add-in. Faulty or memory-intensive add-ins can trigger resource errors, so isolating the culprit streamlines Outlook’s operation.
Update Outlook and Windows
Step 1: In Outlook, click File
> Office Account
> Update Options
> Update Now
. Allow Office to download and install any available updates.

Step 2: For Windows updates, open Settings
> Update & Security
> Windows Update
and click Check for updates
. Install all recommended updates and restart your computer.

Running the latest versions of Outlook and Windows ensures you receive bug fixes and optimizations that address known memory management issues.
Increase GDI Object Limit in Windows Registry (Advanced)
Step 1: Press Windows + R
, type regedit
, and press Enter
. In the Registry Editor, navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows

Step 2: Find the value GDIProcessHandleQuota
. If it does not exist, right-click in the right pane, select New
> DWORD (32-bit) Value
, and name it GDIProcessHandleQuota
.

Step 3: Double-click GDIProcessHandleQuota
and set the value to 20000
(decimal). This increases the number of GDI objects Windows allows per process, which can resolve memory errors in Outlook and other applications that frequently handle graphics or UI elements.

Step 4: Close the Registry Editor and restart your computer. This advanced step can be especially useful on systems with large mailboxes or when using custom add-ins that increase GDI usage.
Addressing the “Out of memory or system resources” error in Outlook usually means freeing up memory, repairing damaged files, and optimizing system configurations. Regularly maintaining your mailbox and keeping software up to date goes a long way toward preventing future issues.
Member discussion