Microsoft KB Archive/252757

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Article ID: 252757

Article Last Modified on 10/26/2006



APPLIES TO

  • Microsoft Exchange Server 5.5 Standard Edition



This article was previously published under Q252757


SYMPTOMS

Microsoft Visual Basic code that uses Collaboration Data Objects (CDO) and that logs on to a mailbox, gets a folder object, and then sets the object to nothing in a loop causes a memory leak.

CAUSE

The reference count for an internal object never reaches zero and it is reallocated, which causes the memory leak.

RESOLUTION

To resolve this problem, obtain the latest service pack for Exchange Server 5.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

191014 XGEN: How to Obtain the latest Exchange Server 5.5 Service Pack


STATUS

Microsoft has confirmed that this is a problem in Exchange Server 5.5. This problem was first corrected in Exchange Server 5.5 Service Pack 4.

MORE INFORMATION

The following code may cause the memory leak:

Dim CdoExpStore As InfoStore
Dim i As Integer
Dim Cdoexpfolder As MAPI.Folder

    For i = 1 To 10000
        Set Cdoexpfolder = CdoExpStore.RootFolder
        Set Cdoexpfolder = Nothing
    Next i
                

Keywords: kbhotfixserver kbqfe kbbug kbexchange550presp4fix kbexchange550sp4fix kbfix kbqfe KB252757