This article was previously published under Q290814
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 352312 (SHILOH_bugs)
Calling the xp_readmail extended procedure to read a message that contains one or more attachments leaks memory. The memory leak is associated with some data structures allocated to hold information about the attachment, such as its size and the filename.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
You can see the memory leak by using the System Monitor or Performance Monitor and viewing the "Private Bytes" counter for the sqlservr process. The rate at which SQL Server memory usage increases depends on the number of attachments per message and the length of the attachment names. Attachments with long file names result in more memory being allocated and a faster leak.