locked
RE: Running out of Shared Resources in Outlook 2016 RRS feed

  • Question

  • I'm looking at OST/pst messages from a legal hold and when the messages open, they use Outlook 2016.

    I like this and I've been doing this all day but now the system is giving me this message:

    Outlook is not even open...I think I need to reboot my machine. Can you have someone look at the memory management in outlook 2016? I think memory is leaking out of the system. My system has 16GB so I should be having no problems viewing these attachments and messages.

    Saturday, August 6, 2016 8:29 PM

Answers

  • Thank you for the update. We may try to increase available memory and then check if this issue continues. To do this, please follow:

    Note: Serious problems might occur if you modify the registry incorrectly. For added protection, back up the registrybefore you modify it.

    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.

    Hope this helps.

    Regards,

    Steve Fan
    TechNet Community Support


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by Steve Fan Friday, August 19, 2016 1:52 AM
    Thursday, August 11, 2016 5:11 AM

All replies

  • Hi,

    How many PST files are opened in Outlook? This issue may happen if you have too many PST files opened in Outlook. We may go to Control Panel > Mail, click Data Files button to open the Account Settings dialog. Close PST files that you are not currently using and then start Outlook to see if this issue continues.

    In addition, we may also try to close Skype for Business or Lync (if you have them opened) as the error message suggested and then check if this issue continues.

    Regards,

    Steve Fan
    TechNet Community Support


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, August 8, 2016 2:18 AM
  • I open and close them after I read them so one msg is open at any one time. The messages take up memory so I rebooted and this solved my problem but someone needs to look at the memory management inside of outlook. Legal hold reading is a common experience. 
    Monday, August 8, 2016 3:43 PM
  • Thank you for the update. If you closed the message after reading it, it shouldn't be the cause of this issue. As I mentioned above, this issue may happen if you have a high number of PST files connected in Outlook. You can go to File > Account Settings > Account Settings > Data Files tab to verify this. When Outlook connects to a PST file, it stores and reserves as certain portion of memory as a cache to increase performance. For this, Outlook only has a certain amount of address space available and it is this “memory or system resource” that Outlook has run out on. See the following article for more information:

    https://www.msoutlook.info/question/518

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    If you have multiple PST file opened in Outlook, I'd recommend you to remove some PST files just to make sure that this is causing the issue.

    Regards,

    Steve Fan
    TechNet Community Support


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, August 9, 2016 5:21 AM
  • Here's my reply to your comment. I have a number of msg outlook. I would open and close each one after I read it. I would not leave them open. Outlook is not releasing the memory back. After opening a certain about of message, the resources would run out. Does this make things clearer?
    Tuesday, August 9, 2016 12:46 PM
  • Hi,

    Apologize if I've misunderstood something. I wanted to make it clearer so that I can provide correct info.

    By "msg", is it short for "message" or do you mean .msg files? I noted that you had messages closed after reading them. Are these messages stored in Outlook data files (PST or OST) or stored as separate .msg files on a drive?

    If there is any misunderstanding, please feel free to let me know.

    Regards,

    Steve Fan
    TechNet Community Support


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, August 10, 2016 3:10 AM
  • Steve,

    The files are not in a .pst or. ost, they are individual message files. Each individual email has a .msg extension. This is how the legal hold works. I'm reading them individually until I run out of shared resources and then I reboot my machine.

    Wednesday, August 10, 2016 4:01 PM
  • Thank you for the update. We may try to increase available memory and then check if this issue continues. To do this, please follow:

    Note: Serious problems might occur if you modify the registry incorrectly. For added protection, back up the registrybefore you modify it.

    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.

    Hope this helps.

    Regards,

    Steve Fan
    TechNet Community Support


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by Steve Fan Friday, August 19, 2016 1:52 AM
    Thursday, August 11, 2016 5:11 AM
  • This sounds exciting. I will try it on Saturday. I need to prepare for this...
    • Proposed as answer by andosahi Tuesday, July 7, 2020 12:59 PM
    Thursday, August 11, 2016 3:37 PM
  • Thank you for your update. Please let me know the result at your free time after trying it.

    Best Regards,

    Steve Fan
    TechNet Community Support


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, August 12, 2016 1:33 AM
  • Hello,

    Any update on this issue? Please feel free to post back if you need further assistance.

    Regards,

    Steve Fan
    TechNet Community Support


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Monday, August 15, 2016 1:35 AM
  • Hi,

    I'm marking the reply as answer.

    If you come back to find it doesn't work for you, please reply to us and unmark the answer.

    Best Regards,

    Steve Fan
    TechNet Community Support


    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, August 19, 2016 1:52 AM
  • I'm working on this now. I've completed all the instructions up to #9. There is no application under Windows Messaging Subsystem. Can you clarify? I do see one under "Office/Outlook"  Finally, will this cover all office applications or do I need to modify the registry for each office application related to get the higher performance?

    If your online, I need a reply promptly because I've modified the settings in the registry now and can't exit till I clear this up. Thanks.



    • Edited by ResidentX10 Saturday, September 24, 2016 7:45 PM
    Saturday, September 24, 2016 7:40 PM