C
Chris
I have a test application that simply creates a PST file, creates a number of
empty messages within it and saves them (using the MAPI functions
CreateMessage and SaveChanges). The process of creating another PST file and
messages within it is repeated.
When this program is run on a system with Outlook 2003 base or SP1
installed, it behaves correctly. However after I upgraded Outlook 2003 to
SP2, a memory leak of approximately 3-4MB was observed after the first
message was written to each new PST file:
PST files written to Memory used (KB)
1 13,144
2 16,680
3 20,168
4 23,660
5 27,144
6 30,632
7 34,124
8 37,676
9 41,160
10 44,716
After some more investigation, I could reproduce this memory leak on 4 out
of 5 PCs with Outlook 2003 SP2 installed. On comparing the Outlook dlls that
were installed on these PCs, the only noticeable difference was the version
of Outlfltr.dll installed. On the PCs where the memory leak was observed,
V1.2.32.1 of Outlfltr.dll was installed. On the PC where there was no memory
leak V1.4.2607.0 was installed.
On the PC with Outlfltr.dll V1.2.32.1 installed, I performed an Office
update and installed the latest Junk Email Filter update for Outlook 2003
SP2. This installed Outlfltr.dll V1.4.2607.0 and the memory leak was fixed.
Could anybody explain why the Outlook Junk Email Filter dll would cause a
memory leak with programmatically creating messages in a PST?
Thanks in advance,
Chris
empty messages within it and saves them (using the MAPI functions
CreateMessage and SaveChanges). The process of creating another PST file and
messages within it is repeated.
When this program is run on a system with Outlook 2003 base or SP1
installed, it behaves correctly. However after I upgraded Outlook 2003 to
SP2, a memory leak of approximately 3-4MB was observed after the first
message was written to each new PST file:
PST files written to Memory used (KB)
1 13,144
2 16,680
3 20,168
4 23,660
5 27,144
6 30,632
7 34,124
8 37,676
9 41,160
10 44,716
After some more investigation, I could reproduce this memory leak on 4 out
of 5 PCs with Outlook 2003 SP2 installed. On comparing the Outlook dlls that
were installed on these PCs, the only noticeable difference was the version
of Outlfltr.dll installed. On the PCs where the memory leak was observed,
V1.2.32.1 of Outlfltr.dll was installed. On the PC where there was no memory
leak V1.4.2607.0 was installed.
On the PC with Outlfltr.dll V1.2.32.1 installed, I performed an Office
update and installed the latest Junk Email Filter update for Outlook 2003
SP2. This installed Outlfltr.dll V1.4.2607.0 and the memory leak was fixed.
Could anybody explain why the Outlook Junk Email Filter dll would cause a
memory leak with programmatically creating messages in a PST?
Thanks in advance,
Chris