Error message in Outlook: "There is not enough free memory to run this program. Quit one or more programs, and then try again"

Article translations Article translations
Article ID: 2329201 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When you click a folder while you are using Microsoft Outlook, one of the following error messages may be displayed:

Error message 1

There is not enough free memory to run this program. Quit one or more programs, and then try again.

Error message 2
Unable to display the folder. There is not enough free memory to run this program. Quit one or more programs, and then try again.
You may experience this issue more frequently if you also use Business Contact Manager for Outlook (BCM).

Cause

This issue occurs because there is insufficient memory to display the folder. This may be caused by any one of many reasons. These reasons can include customizations that were made to the folder view, such as setting a filter. With Business Contact Manager for Outlook, the add-in subscribes to every folder in every store in the profile. Each MAPI subscription uses some shared memory. Therefore, large combinations of items and folders can deplete memory.

Workaround

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article numbers to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To work around the issue that is described in the "Symptoms" section, increase available memory. To increase the size of the memory heap, follow these steps:
  1. Exit Outlook.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Locate and then click to select the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem
  4. On the Edit menu, point to New, and then click DWORD Value.
  5. Type SharedMemMaxSize, and then press Enter.
  6. Right-click SharedMemMaxSize, and then click Modify.
  7. In the Value data box, type 300000. Use the default Base of Hexadecimal.
  8. Click OK.
  9. Locate and then click to select the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem\Applications\Outlook

    Note You may have to create the Applications and Outlook subkeys if they do not exist.
  10. On the Edit menu, point to New, and then click DWORD Value.
  11. Type SharedMemMaxSize, and then press Enter.
  12. In the Value data box, type 300000. Use the default Base of Hexadecimal.
  13. Click OK.
  14. On the File menu, click Exit to exit Registry Editor.

If setting the two registry values that were mentioned earlier to 0x300000 does not resolve the issue, you can increase the size of these values up to 0x800000.

More information

If you have a large Outlook Data (.pst) file open in Outlook, you can try to close the .pst file or to decrease the number of folders in the .pst file.

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
907651When you try to add lots of .pst files to your e-mail profile in Outlook 2003, some of the .pst files may not be added
269794 MAPI Advise() call returns 0x8007000E (E_OUTOFMEMORY)

The following Microsoft MSDN blog also provides some additional details:
Too Many Notifications

Properties

Article ID: 2329201 - Last Review: November 21, 2012 - Revision: 6.0
Applies to
  • Microsoft Office Outlook 2007 with Business Contact Manager
  • Microsoft Office Outlook 2003
  • Microsoft Office Outlook 2003 with Business Contact Manager
  • Microsoft Office Outlook 2007
  • Microsoft Outlook 2010
Keywords: 
KB2329201

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com