High CPU utilization on outlook 2007 when opening dialog

O

Oren Gurfinkel

Hello all,
I've developed an add-in to outlook 2007 using IDTExtensiblity2 , When the
add-in get installed on a machine with service pack 2 after a while each
dialog opening and closing result in high CPU utilization.
When I check the running threads in process explorer I noticed that one
thread consume most of the CPU and this thread start address is in
outlook.exe : LoadPrivateMAPI
Any idea ?
Thanks
Oren.
 
K

Ken Slovak - [MVP - Outlook]

What language are you using? What development platform? Are you using only 1
thread for all of your Outlook object model calls? Using a background thread
for those is a terrible thing to do.

Are you releasing everything? Are you calling the garbage collector if this
is managed code? Have you checked with a profiler to see where your code is
slowing down?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top