Out of memory exception on inspector's WordEditor

Add-in Express™ Support Service
That's what is more important than anything else

Out of memory exception on inspector's WordEditor
 
Horatiu Muresan


Guest


Hi,

Some of our customers recently complain about issues occurring when our add-in populates an appointment's body in an inspector window. The issue started happening on February 2019.

The issue seems related to a recent Windows 10 update, Windows 10 October 2018 Update(1809):



The error is:
2019/01/25 09:27:11 ERROR - System.Runtime.InteropServices.COMException (0xC837000E): Out of memory or system resources. Close some windows or programs and try again.
at Microsoft.Office.Interop.Outlook._Inspector.get_WordEditor()


This happens when accessing the WordEditor property of an Inspector:

doc = insp.WordEditor; 



Do you have any idea why this happens?

Thank you,
Horatiu
Posted 19 Feb, 2019 04:22:00 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Horatiu,

Horatiu Muresan writes:
This happens when accessing the WordEditor property of an Inspector


In what event do you access that property?


Andrei Smolin
Add-in Express Team Leader
Posted 19 Feb, 2019 04:25:09 Top
Horatiu Muresan


Guest


One time I access it in an event handler for a ribbon button:
-adxInpsectorRibbonButtonMeetingAddCancel_OnClick

Other time I access it on the ExplorerSelectionChanged

It happens on both cases. Also, this started happening recently also on an older version of the add-in which was not changed for months, which suggests that it might be an OS level change which is causing it.

Thank you for your prompt response.
Posted 19 Feb, 2019 04:31:52 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Horatiu,

What Outlook build are you using? Please provide the complete version string that you can find in File | Office Account.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Feb, 2019 04:56:12 Top
Horatiu Muresan


Guest


Hi Andrei,

We did not manage to reproduce this issue, but we have the Outlook exact version from the customer's logs:

Outlook 2016 (16.0.0.11126)
Posted 19 Feb, 2019 05:55:56 Top
Horatiu Muresan


Guest


Looks like they previously had version: Outlook 2016 (16.0.11126.20266) which still reproduces the issue.
Posted 19 Feb, 2019 06:03:28 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Horatiu,

I'd suggest the customer to restart their machine. If this doesn't help, let them repair their Office installation.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Feb, 2019 06:41:54 Top
Horatiu Muresan


Guest


Thank you Andrei, I'll ask them.
Posted 19 Feb, 2019 08:03:26 Top