A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook pre-SP2 update going wild every minute



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 6th 09, 12:45 PM posted to microsoft.public.outlook
Patrick Philippot
external usenet poster
 
Posts: 9
Default Outlook pre-SP2 update going wild every minute

Hi,

I have recently installed the pre- Office SP2 Outlook update (see
http://support.microsoft.com/?kbid=968009 - I installed both packages).
The update has been installed on 3 systems: 2 XP Pro french systems
(monoprocessor mobo) and one XP Pro english system (dual core). The
problem I'm describing below cannot be observed on the dual core system.

Exactly *every minute*, Outlook is going wild and loading the CPU at
100%. Depending on the system, this can last up to 4-5 seconds. During
this period, everything is freezed. You can't even click on a button.
When observing the process activity with ProcMon, one can see that
Outlook is **massively** using the registry during this period (about
15-20 000 events - yes, twenty thousands!).

Of course, this generates some trouble because any activity is
interrupted during a few seconds every minute (typing, mouse clicks and
wheeling,...).

Anyone experiencing the same problem?

Thanks in advance.

--
Patrick

  #2  
Old March 6th 09, 01:37 PM posted to microsoft.public.outlook
Patrick Philippot
external usenet poster
 
Posts: 9
Default Outlook pre-SP2 update going wild every minute

Patrick Philippot wrote:
Exactly *every minute*, Outlook is going wild and loading the CPU at
100%. Depending on the system, this can last up to 4-5 seconds. During
this period, everything is freezed. You can't even click on a button.
When observing the process activity with ProcMon, one can see that
Outlook is **massively** using the registry during this period (about
15-20 000 events - yes, twenty thousands!).


Actually, it seems that Outlook is re-reading all settings from the
registry every minute, as if it was starting up again.

--
Patrick

  #3  
Old March 6th 09, 05:35 PM posted to microsoft.public.outlook
Diane Poremsky [MVP]
external usenet poster
 
Posts: 12,991
Default Outlook pre-SP2 update going wild every minute

So the problem is only on the French systems? Have you rebooted? Tried
Detect and repair? A new profile? (Keep the old profile, we just want to see
if it is a problem with the profile or the installation.)

--
Diane Poremsky [MVP - Outlook]
Need Help with Common Tasks? http://www.outlook-tips.net/beginner/
Outlook 2007: http://www.slipstick.com/outlook/ol2007/

Outlook Tips by email:


Exchange Messaging Outlook newsletter:


Outlook Tips:
http://www.outlook-tips.net/
Outlook & Exchange Solutions Center: http://www.slipstick.com

You can access this newsgroup by visiting
http://www.microsoft.com/office/comm...s/default.mspx or point your
newsreader to msnews.microsoft.com.


"Patrick Philippot" wrote in message
...
Hi,

I have recently installed the pre- Office SP2 Outlook update (see
http://support.microsoft.com/?kbid=968009 - I installed both packages).
The update has been installed on 3 systems: 2 XP Pro french systems
(monoprocessor mobo) and one XP Pro english system (dual core). The
problem I'm describing below cannot be observed on the dual core system.

Exactly *every minute*, Outlook is going wild and loading the CPU at 100%.
Depending on the system, this can last up to 4-5 seconds. During this
period, everything is freezed. You can't even click on a button. When
observing the process activity with ProcMon, one can see that Outlook is
**massively** using the registry during this period (about 15-20 000
events - yes, twenty thousands!).

Of course, this generates some trouble because any activity is interrupted
during a few seconds every minute (typing, mouse clicks and wheeling,...).

Anyone experiencing the same problem?

Thanks in advance.

--
Patrick


  #4  
Old March 7th 09, 10:47 AM posted to microsoft.public.outlook
Patrick Philippot
external usenet poster
 
Posts: 9
Default Outlook pre-SP2 update going wild every minute

Diane Poremsky [MVP] wrote:
So the problem is only on the French systems? Have you rebooted? Tried
Detect and repair? A new profile? (Keep the old profile, we just want
to see if it is a problem with the profile or the installation.)


Hello Diane,

So the problem is only on the French systems?


Well, it happens that the english system is also the dual core system.
This is the most powerful system and the one having the most memory. I
can't draw any conclusion from this.

Detect and repair?


Didn't help

A new profile?


I created a new profile containing a single email account. I started
Oultlook with this profile. Problem gone. I re-started Outlook with the
original profile. Problem back.

What on earth in a profile can trigger such an event exactly every other
minute? Ooooops! Got it!

I have an old macro that uses a 1 minute timer. This code always used to
run very quickly. This is what has changed. Now, it seems to take much
more time to run. Code excerpt:

Set objNS = Application.GetNamespace("MAPI")
Set objDeletedItems =
objNS.GetDefaultFolder(olFolderDeletedItems).Items

.....

Public Sub TimerFunc() ' It's the timer callback
If Not bCanRun Then Exit Sub

Dim Item As Object

If Not objDeletedItems Is Nothing Then
For Each Item In objDeletedItems
Item.UnRead = False
Next
End If
End Sub

I can't understand why this code might take up to 4-5 seconds to
execute, even on a slower system. I just noticed that if I disable the
ESET NOD32 antivirus plugin for Outlook, the execution time is
significantly shorter, but still too long. Disabling ESET NOD32 (version
4) alltogether doesn't change anything.

Now that I know where the problem is, I will investigate this further
and let you know. I guess that I don't see the problem on the dual core
system because the macro code is probably executed on a different
thread.

Thanks.

--
Patrick Philippot (former Development MVP ;-) )
MainSoft Consulting Services
www.mainsoft.fr


  #5  
Old March 7th 09, 11:22 AM posted to microsoft.public.outlook
Patrick Philippot
external usenet poster
 
Posts: 9
Default Outlook pre-SP2 update going wild every minute

Patrick Philippot wrote:
I have an old macro that uses a 1 minute timer. This code always used
to run very quickly. This is what has changed. Now, it seems to take
much more time to run. Code excerpt:

Set objNS = Application.GetNamespace("MAPI")
Set objDeletedItems =
objNS.GetDefaultFolder(olFolderDeletedItems).Items

....

Public Sub TimerFunc() ' It's the timer callback
If Not bCanRun Then Exit Sub

Dim Item As Object

If Not objDeletedItems Is Nothing Then
For Each Item In objDeletedItems
Item.UnRead = False
Next
End If
End Sub

I can't understand why this code might take up to 4-5 seconds to
execute, even on a slower system.



I must mention that most of the time, objDeletedItems is empty or
contains only a few items. So the timer callback should execute in a
snap.

--
Patrick

  #6  
Old March 7th 09, 01:16 PM posted to microsoft.public.outlook
Patrick Philippot
external usenet poster
 
Posts: 9
Default Outlook pre-SP2 update going wild every minute

Patrick Philippot wrote:
I can't understand why this code might take up to 4-5 seconds to
execute, even on a slower system.


I must mention that most of the time, objDeletedItems is empty or
contains only a few items. So the timer callback should execute in a
snap.


OK. Problem spotted.

Before installation, the "Empty the Deleted Items folder upon exiting"
option was enabled on all systems. After installation of the pre-SP2
patch, this option has been disabled on the french systems, not on the
english system. So there were hundreds of invisible deleted messages in
this folder. Consequently, the above quoted loop in the macro code took
a lot of time to execute.

Sorry for the trouble but it's good to know this.

--
Patrick

  #7  
Old March 7th 09, 11:24 PM posted to microsoft.public.outlook
Milly Staples [MVP - Outlook][_2_]
external usenet poster
 
Posts: 2,202
Default Outlook pre-SP2 update going wild every minute

Thanks for the info but next time you may want to also post to a programming
group - that is where the experts in coding tend to hang out.

--
Milly Staples [MVP - Outlook]

Post all replies to the group to keep the discussion intact.
ALWAYS post your Outlook version.
How to ask a question: http://support.microsoft.com/KB/555375


After furious head scratching, Patrick Philippot asked:

| Patrick Philippot wrote:
||| I can't understand why this code might take up to 4-5 seconds to
||| execute, even on a slower system.
||
|| I must mention that most of the time, objDeletedItems is empty or
|| contains only a few items. So the timer callback should execute in a
|| snap.
|
| OK. Problem spotted.
|
| Before installation, the "Empty the Deleted Items folder upon exiting"
| option was enabled on all systems. After installation of the pre-SP2
| patch, this option has been disabled on the french systems, not on the
| english system. So there were hundreds of invisible deleted messages
| in this folder. Consequently, the above quoted loop in the macro code
| took a lot of time to execute.
|
| Sorry for the trouble but it's good to know this.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reminders run wild in OL 2003 Danny Outlook - Calandaring 8 March 1st 08 11:50 PM
Using wild cards in blocking Leigh Outlook Express 1 November 20th 06 06:20 AM
Outlook gone wild?? jojo Outlook - General Queries 1 August 29th 06 08:45 PM
Can I arrange Outlook to have 45 minute increments automaticaly? Larry Outlook - Calandaring 1 July 26th 06 09:25 PM
Find Method wild card search? [email protected] Outlook and VBA 5 May 3rd 06 02:26 PM


All times are GMT +1. The time now is 04:10 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.