Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlook has exhausted all shared resources error message #1365

Closed
mfalkvidd opened this issue Jan 2, 2022 · 10 comments
Closed

Outlook has exhausted all shared resources error message #1365

mfalkvidd opened this issue Jan 2, 2022 · 10 comments
Labels
bug Something's not working right

Comments

@mfalkvidd
Copy link

mfalkvidd commented Jan 2, 2022

OGCS Version: v2.9.0.0
Edition: Installed
Sync Direction: O<->G

Bug Description
Multiple windows with the following dialog box is shown:

---------------------------
Outlook Data File
---------------------------
Outlook has exhausted all shared resources, please close all messaging applications and restart Outlook (example: Skype for Business).
---------------------------
OK   
---------------------------

2021-12-30 14_29_41-Outlook Data File

Steps to Reproduce the Issue

  • Have OGCalsync autostart
  • Start Outlook
  • Click "Allow"on the "A program is trying to access..." dialog box (not sure if it relevant, but I always get this prompt when OGCS tries to sync)

image

  • Shut down Outlook
  • Leave the computer running for 1-2 days

The "Outlook has exhausted..." dialog boxes start appearing after about 2 days of uptime.
One the message has appeared, if I try to start Outlook, the same dialog box is shown.
In the Windows Tray, the "Another program is using Outlook" icon is visible. If I right-click this icon and select "Exit now", the try icon goes away but the same message is shown when I try to (re)start Outlook.
Only solution I've found is to restart the computer, and keep Outlook running at all times.

Skype For Business is installed but not running (no autostart and I don't even have an account so I never start it).

OGcalsync.log

@mfalkvidd mfalkvidd added the bug Something's not working right label Jan 2, 2022
@phw198
Copy link
Owner

phw198 commented Feb 18, 2022

Hi @mfalkvidd

Take a look at the FAQs to see if there's anything you can do to stop the security popup. Do you see this pop-up when you log in after a couple of days? Ie OGCS is trying to sync but is blocked?

Also, when you initially start OGCS and close down Outlook, if you run a sync does the Windows tray icon disappear once the sync has completed?

How many PST files do you have configured in Outlook and how big are they?

@mfalkvidd
Copy link
Author

Thanks Paul. I am no longer using an Outlook account so I don't have OGCS running anymore. Feel free to close this issue. I still have access to the outlook account, so I can assist in troubleshooting if you want to.

Yes, the outlook tray icon disappears after sync.

I have 1 PST file, 3,08 GB.

@phw198
Copy link
Owner

phw198 commented Mar 13, 2022

OK not to worry, thanks for the update @mfalkvidd

Could have been any number of reasons - the PST file is quite big, but not terrible. Syncing a big date range and not having cached mode enabled might cause the error you found, but sounds like I may as well close this issue if you're no longer using OGCS.

@phw198 phw198 closed this as completed Mar 13, 2022
@PJKuyten
Copy link

PJKuyten commented Oct 2, 2023

Unfortunately I've also run into this issue with the latest Alpha (v2.10.1-alpha) and the newest version of Outlook: "You have Microsoft Outlook Version 1.2023.920.900 (Production). Client Version is 20230922005.11"

Whenever I try to start Outlook Google Calender Sync, I get multiple of the error message pop-up boxes and the application fails to start. This didn't happen with earlier versions of Outlook (the new one seems to update several times per week at the moment, so I can't tell you exactly what the last working version was) or if it happened it was occasionally. But with this version it is always and on start of the application., Even when I don't have Outlook and Teams open, it will produce the error on start of the Sync application.

One thing that I noticed that is different is that I don't get the security pop-up anymore, but this could be caused by the application not even getting far enough for the security question to pop-up!

@phw198
Copy link
Owner

phw198 commented Oct 2, 2023

Make sure you are running in cached Exchange mode. If that doesn't help, please open a new issue and upload your log file. Thanks!

@PJKuyten
Copy link

PJKuyten commented Oct 3, 2023

Make sure you are running in cached Exchange mode. If that doesn't help, please open a new issue and upload your log file. Thanks!

The new Outlook doesn't have a "Cached Exchange Mode" setting. Or our admins have disabled it.
I also can't switch back to the old client (an option in the new one) as that immediately throws the same resources error.

@phw198
Copy link
Owner

phw198 commented Oct 7, 2023

The "new Outlook"? As in #1640 - if so, you can no longer user OGCS, sorry!

@PJKuyten
Copy link

Thanks for the information. I tried running the old Outlook client i.s.o the new one (since the new client is not replacing the old one), but starting that one gives me the same dialog box. So it seems that new Outlook messed something up that now prevents the old Outlook client from running.

I guess that when it did work, OGCS was actually running the old Client in the background, next to the new one. Somehow this now no longer works, which I assume is an issue caused by Microsoft.

@PJKuyten
Copy link

PJKuyten commented Oct 11, 2023

Update: Using some registry hacking using option 4 from this page ( https://www.linkedin.com/pulse/how-fix-microsoft-outlook-error-out-memory-system-/ ) I was able to get the old client to run again, which in turn made OGCS work again.
You do need to reboot the system after the registry change though in order to make it work.

@phw198
Copy link
Owner

phw198 commented Oct 11, 2023

Good to know and glad you found a solution! Do you actually use PST files, or does that UseLegacyCacheSize registry key work for the OST file too?

I'll get this written up into a wiki entry 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's not working right
Projects
None yet
Development

No branches or pull requests

3 participants