Outlook 2007 addin 'out of memory / system resources' issue oncertain machines

  • Thread starter Thread starter Pete C
  • Start date Start date
P

Pete C

Hi,

One of our clients is reporting that Outlook 2007 is sometimes
reporting the following error message for our add-in :

"The add-in "<our addin name>" (<path>) cannot be loaded and has been
disabled by Outlook. Please contact the add-in manufacturer for an
update. If no update is available, please uninstall the add-in. Out
of memory or system resources. Close some windows or programs and try
again."

This will happen seemingly randomly after Outlook has been running for
a while, and afterwards it will be unstable. Our addin has been
loaded so it's probably not a registration issue. Note our addin
usually works fine on Outlook 2007. The exact same issue has been
reported for some other addins, e.g. AVG and Symmantec :

https://forums.symantec.com/syment/board/message?board.id=106&message.id=9754

http://www.avgforums.com/viewtopic.php?p=74&sid=8a248ac7c23d7b78c0d0037a97ca3a4e

The only real suggestions are to run fixmapi or re-register the addin,
but there is no indication of whether that helped.

Has anyone else seen this issue or heard about it, or have any other
suggestions on what may fix it? Is this a bug in Outlook 2007?

Any help appreciated.
Cheers,
Pete.
 
Both of those links refer to ECE's, not COM addins. What is your code, an
ECE or a COM addin?

Does that client have ESM or other admin Exchange tools installed on the
same system as Outlook? That's not really supported and my be the root of
your problem.

The other question is have you opened a support case with MS on this
problem?
 
Hi Ken,

Thanks for your reply. We actually have both a COM addin and an ECE,
implemented in the same DLL. I wasn't sure if the error message was
related to the COM or ECE part - do you think it is definitely the ECE
part that is causing the message to appear? The ECE is registered
using an ECF file. We actually have a second ECE in a different DLL
which is registered through the registry (because that is the only way
to get certain functionality) but I'm not aware of a message coming up
for that one.

I will find out whether they use ESM later today. If not then I will
look into opening a support case with MS.

Regards,
Pete.
 
I have no idea if that error is only related to ECE's, I don't write them.
The links you provided both referred to ECE's however. Dmitry might know, he
writes ECE's.

I do know that I've never seen that error for my own addins (COM addins)
written either in managed or unmanaged code, and I've had no reports of that
problem for any my COM addins.
 
Does that happen in the cached or online mode? Does that happen when you
select many (hundreds) of messages?
What do your COM and ECE do? Especially h regards to the selected messages?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Hi Dmitry,

It's cached mode I think. I've tried both here.

We don't do much when messages are selected. In the COM add-in, if
one message is selected then we attach an event handler to handle
reply, forward, etc, but if multiple message are selected we do
nothing. In the ECE we do some work in the OnRead handler (read a
MAPI property, look at, possibly update the HTML body), but that's
only called when a message is shown in the preview pane or opened.

Do you think selecting lots of messages could cause this type of
problem? I have been unable to reproduce it here - I've set up
mailboxes with thousands of messages but still can't break it!

Regards,
Pete.
 
Back
Top