Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The Volume Shadow Copy Service may leak private bytes and virtual memory when you use the service to take frequent snapshots in Windows Server 2003 or in Windows XP


View products that this article applies to.

Symptoms

The Volume Shadow Copy Service (VSS) may leak private bytes and virtual memory when you use the service to take frequent snapshots in Windows Server 2003 or in Windows XP.

To view the leaks in System Monitor, use the following performance counters under the Process object:
  • Private Bytes
  • Virtual Bytes

↑ Back to the top


Cause

This problem occurs if the VSS software provider is unable to load snapshot objects. In this situation, the VSS software provider (Swprv.dll) does not release the allocated VSS_SNAPSHOT_PROP structures.

↑ Back to the top


Resolution

Hotfix information for Windows Server 2003

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have Windows Server 2003 Service Pack 1 or Windows Server 2003 Service Pack 2 installed.
889100� How to obtain the latest service pack for Windows Server 2003

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Server 2003 with Service Pack 2, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Eventcls.dll5.2.3790.412031,23220-Jul-200709:44x86SP2
Ftdisk.sys5.2.3790.4120137,21619-Jul-200713:01x86SP2
Partmgr.sys5.2.3790.412025,08819-Jul-200714:48x86SP2
Swprv.dll5.2.3790.4120275,96820-Jul-200709:44x86SP2
Volsnap.sys5.2.3790.4120154,11219-Jul-200713:01x86SP2
Vssadmin.exe5.2.3790.4120134,14419-Jul-200713:02x86SP2
Vssapi.dll5.2.3790.4120566,27220-Jul-200709:44x86SP2
Vssui.dll5.2.3790.4120144,38420-Jul-200709:44x86SP2
Vssvc.exe5.2.3790.4120836,60819-Jul-200713:02x86SP2
Vss_ps.dll5.2.3790.412019,45620-Jul-200709:44x86SP2
Windows Server 2003 with SP2, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.412046,08019-Jul-200719:48x64SP2Not applicable
Ftdisk.sys5.2.3790.4120240,12819-Jul-200719:48x64SP2Not applicable
Partmgr.sys5.2.3790.412045,05619-Jul-200719:48x64SP2Not applicable
Volsnap.sys5.2.3790.4120289,79219-Jul-200719:48x64SP2Not applicable
Vssui.dll5.2.3790.4120233,47219-Jul-200719:48x64SP2Not applicable
Vss_ps.dll5.2.3790.412025,60019-Jul-200719:48x64SP2Not applicable
Swprv.dll5.2.3790.4120658,43219-Jul-200719:48x64SP2Not applicable
Vssadmin.exe5.2.3790.4120245,24819-Jul-200719:48x64SP2Not applicable
Vssapi.dll5.2.3790.41201,332,73619-Jul-200719:48x64SP2Not applicable
Vssvc.exe5.2.3790.41202,062,84819-Jul-200719:48x64SP2Not applicable
Swprv.dll5.2.3790.4120658,43219-Jul-200719:48x64SP2Not applicable
Vssadmin.exe5.2.3790.4120245,24819-Jul-200719:48x64SP2Not applicable
Vssapi.dll5.2.3790.41201,332,73619-Jul-200719:48x64SP2Not applicable
Vssvc.exe5.2.3790.41202,062,84819-Jul-200719:48x64SP2Not applicable
Swprv.dll5.2.3790.4120658,43219-Jul-200719:48x64SP2Not applicable
Vssadmin.exe5.2.3790.4120245,24819-Jul-200719:48x64SP2Not applicable
Vssapi.dll5.2.3790.41201,332,73619-Jul-200719:48x64SP2Not applicable
Vssvc.exe5.2.3790.41202,062,84819-Jul-200719:48x64SP2Not applicable
Swprv.dll5.2.3790.4120658,43219-Jul-200719:48x64SP2Not applicable
Vssadmin.exe5.2.3790.4120245,24819-Jul-200719:48x64SP2Not applicable
Vssapi.dll5.2.3790.41201,332,73619-Jul-200719:48x64SP2Not applicable
Vssvc.exe5.2.3790.41202,062,84819-Jul-200719:48x64SP2Not applicable
Wvssapi.dll5.2.3790.4120566,27219-Jul-200719:48x86SP2WOW
Wvss_ps.dll5.2.3790.412019,45619-Jul-200719:48x86SP2WOW
Windows Server 2003 with Service Pack 2, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.412082,43219-Jul-200719:45IA-64SP2Not applicable
Ftdisk.sys5.2.3790.4120499,20019-Jul-200719:45IA-64SP2Not applicable
Partmgr.sys5.2.3790.412083,45619-Jul-200719:45IA-64SP2Not applicable
Volsnap.sys5.2.3790.4120478,20819-Jul-200719:45IA-64SP2Not applicable
Vssui.dll5.2.3790.4120407,55219-Jul-200719:45IA-64SP2Not applicable
Vss_ps.dll5.2.3790.412031,23219-Jul-200719:45IA-64SP2Not applicable
Swprv.dll5.2.3790.4120833,53619-Jul-200719:45IA-64SP2Not applicable
Vssadmin.exe5.2.3790.4120313,85619-Jul-200719:45IA-64SP2Not applicable
Vssapi.dll5.2.3790.41201,654,27219-Jul-200719:45IA-64SP2Not applicable
Vssvc.exe5.2.3790.41202,587,64819-Jul-200719:46IA-64SP2Not applicable
Swprv.dll5.2.3790.4120833,53619-Jul-200719:45IA-64SP2Not applicable
Vssadmin.exe5.2.3790.4120313,85619-Jul-200719:45IA-64SP2Not applicable
Vssapi.dll5.2.3790.41201,654,27219-Jul-200719:45IA-64SP2Not applicable
Vssvc.exe5.2.3790.41202,587,64819-Jul-200719:45IA-64SP2Not applicable
Wvssapi.dll5.2.3790.4120566,27219-Jul-200719:46x86SP2WOW
Wvss_ps.dll5.2.3790.412019,45619-Jul-200719:46x86SP2WOW
Windows Server 2003 with Service Pack 1, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Eventcls.dll5.2.3790.297831,23220-Jul-200709:28x86SP1
Ftdisk.sys5.2.3790.2978137,21619-Jul-200713:03x86SP1
Partmgr.sys5.2.3790.297825,08819-Jul-200713:42x86SP1
Swprv.dll5.2.3790.2978275,96820-Jul-200709:28x86SP1
Volsnap.sys5.2.3790.2978154,11219-Jul-200713:03x86SP1
Vssadmin.exe5.2.3790.2978134,14419-Jul-200713:04x86SP1
Vssapi.dll5.2.3790.2978565,76020-Jul-200709:28x86SP1
Vssui.dll5.2.3790.2978144,38419-Jul-200719:34x86SP1
Vssvc.exe5.2.3790.2978836,60819-Jul-200713:04x86SP1
Vss_ps.dll5.2.3790.297819,45620-Jul-200709:28x86SP1
Windows Server 2003, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.297846,08019-Jul-200719:44x64SP1Not applicable
Ftdisk.sys5.2.3790.2978240,12819-Jul-200719:44x64SP1Not applicable
Partmgr.sys5.2.3790.297845,05619-Jul-200719:44x64SP1Not applicable
Volsnap.sys5.2.3790.2978289,79219-Jul-200719:44x64SP1Not applicable
Vssui.dll5.2.3790.2978233,47219-Jul-200719:44x64SP1Not applicable
Vss_ps.dll5.2.3790.297825,60019-Jul-200719:44x64SP1Not applicable
Swprv.dll5.2.3790.2978658,43219-Jul-200719:44x64SP1Not applicable
Vssadmin.exe5.2.3790.2978245,24819-Jul-200719:44x64SP1Not applicable
Vssapi.dll5.2.3790.29781,333,24819-Jul-200719:44x64SP1Not applicable
Vssvc.exe5.2.3790.29782,062,84819-Jul-200719:44x64SP1Not applicable
Swprv.dll5.2.3790.2978658,43219-Jul-200719:44x64SP1Not applicable
Vssadmin.exe5.2.3790.2978245,24819-Jul-200719:44x64SP1Not applicable
Vssapi.dll5.2.3790.29781,333,24819-Jul-200719:44x64SP1Not applicable
Vssvc.exe5.2.3790.29782,062,84819-Jul-200719:44x64SP1Not applicable
Swprv.dll5.2.3790.2978658,43219-Jul-200719:44x64SP1Not applicable
Vssadmin.exe5.2.3790.2978245,24819-Jul-200719:44x64SP1Not applicable
Vssapi.dll5.2.3790.29781,333,24819-Jul-200719:44x64SP1Not applicable
Vssvc.exe5.2.3790.29782,062,84819-Jul-200719:44x64SP1Not applicable
Swprv.dll5.2.3790.2978658,43219-Jul-200719:44x64SP1Not applicable
Vssadmin.exe5.2.3790.2978245,24819-Jul-200719:44x64SP1Not applicable
Vssapi.dll5.2.3790.29781,333,24819-Jul-200719:44x64SP1Not applicable
Vssvc.exe5.2.3790.29782,062,84819-Jul-200719:44x64SP1Not applicable
Wvssapi.dll5.2.3790.2978565,76019-Jul-200719:44x86SP1WOW
Wvss_ps.dll5.2.3790.297819,45619-Jul-200719:44x86SP1WOW
Windows Server 2003 with Service Pack 1, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.297882,43219-Jul-200719:43IA-64SP1Not applicable
Ftdisk.sys5.2.3790.2978499,20019-Jul-200719:43IA-64SP1Not applicable
Partmgr.sys5.2.3790.297883,45619-Jul-200719:43IA-64SP1Not applicable
Volsnap.sys5.2.3790.2978478,20819-Jul-200719:43IA-64SP1Not applicable
Vssui.dll5.2.3790.2978407,55219-Jul-200719:43IA-64SP1Not applicable
Vss_ps.dll5.2.3790.297831,23219-Jul-200719:43IA-64SP1Not applicable
Swprv.dll5.2.3790.2978833,53619-Jul-200719:43IA-64SP1Not applicable
Vssadmin.exe5.2.3790.2978313,85619-Jul-200719:43IA-64SP1Not applicable
Vssapi.dll5.2.3790.29781,654,27219-Jul-200719:43IA-64SP1Not applicable
Vssvc.exe5.2.3790.29782,587,64819-Jul-200719:43IA-64SP1Not applicable
Swprv.dll5.2.3790.2978833,53619-Jul-200719:43IA-64SP1Not applicable
Vssadmin.exe5.2.3790.2978313,85619-Jul-200719:43IA-64SP1Not applicable
Vssapi.dll5.2.3790.29781,654,27219-Jul-200719:43IA-64SP1Not applicable
Vssvc.exe5.2.3790.29782,587,64819-Jul-200719:43IA-64SP1Not applicable
Wvssapi.dll5.2.3790.2978565,76019-Jul-200719:43x86SP1WOW
Wvss_ps.dll5.2.3790.297819,45619-Jul-200719:43x86SP1WOW

Hotfix information for Windows XP

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have an x64-based version of Windows XP Service Pack 1 or Windows XP Service Pack 2 installed.
322389 � How to obtain the latest Windows XP service pack

Restart requirement

You have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows XP Professional x64 Edition with Service Pack 2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.412046,08019-Jul-200719:48x64SP2Not applicable
Ftdisk.sys5.2.3790.4120240,12819-Jul-200719:48x64SP2Not applicable
Partmgr.sys5.2.3790.412045,05619-Jul-200719:48x64SP2Not applicable
Volsnap.sys5.2.3790.4120289,79219-Jul-200719:48x64SP2Not applicable
Vssui.dll5.2.3790.4120233,47219-Jul-200719:48x64SP2Not applicable
Vss_ps.dll5.2.3790.412025,60019-Jul-200719:48x64SP2Not applicable
Swprv.dll5.2.3790.4120658,43219-Jul-200719:48x64SP2Not applicable
Vssadmin.exe5.2.3790.4120245,24819-Jul-200719:48x64SP2Not applicable
Vssapi.dll5.2.3790.41201,332,73619-Jul-200719:48x64SP2Not applicable
Vssvc.exe5.2.3790.41202,062,84819-Jul-200719:48x64SP2Not applicable
Swprv.dll5.2.3790.4120658,43219-Jul-200719:48x64SP2Not applicable
Vssadmin.exe5.2.3790.4120245,24819-Jul-200719:48x64SP2Not applicable
Vssapi.dll5.2.3790.41201,332,73619-Jul-200719:48x64SP2Not applicable
Vssvc.exe5.2.3790.41202,062,84819-Jul-200719:48x64SP2Not applicable
Swprv.dll5.2.3790.4120658,43219-Jul-200719:48x64SP2Not applicable
Vssadmin.exe5.2.3790.4120245,24819-Jul-200719:48x64SP2Not applicable
Vssapi.dll5.2.3790.41201,332,73619-Jul-200719:48x64SP2Not applicable
Vssvc.exe5.2.3790.41202,062,84819-Jul-200719:48x64SP2Not applicable
Swprv.dll5.2.3790.4120658,43219-Jul-200719:48x64SP2Not applicable
Vssadmin.exe5.2.3790.4120245,24819-Jul-200719:48x64SP2Not applicable
Vssapi.dll5.2.3790.41201,332,73619-Jul-200719:48x64SP2Not applicable
Vssvc.exe5.2.3790.41202,062,84819-Jul-200719:48x64SP2Not applicable
Wvssapi.dll5.2.3790.4120566,27219-Jul-200719:48x86SP2WOW
Wvss_ps.dll5.2.3790.412019,45619-Jul-200719:48x86SP2WOW
Windows XP Professional x64 Edition with Service Pack 1
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.297846,08019-Jul-200719:44x64SP1Not applicable
Ftdisk.sys5.2.3790.2978240,12819-Jul-200719:44x64SP1Not applicable
Partmgr.sys5.2.3790.297845,05619-Jul-200719:44x64SP1Not applicable
Volsnap.sys5.2.3790.2978289,79219-Jul-200719:44x64SP1Not applicable
Vssui.dll5.2.3790.2978233,47219-Jul-200719:44x64SP1Not applicable
Vss_ps.dll5.2.3790.297825,60019-Jul-200719:44x64SP1Not applicable
Swprv.dll5.2.3790.2978658,43219-Jul-200719:44x64SP1Not applicable
Vssadmin.exe5.2.3790.2978245,24819-Jul-200719:44x64SP1Not applicable
Vssapi.dll5.2.3790.29781,333,24819-Jul-200719:44x64SP1Not applicable
Vssvc.exe5.2.3790.29782,062,84819-Jul-200719:44x64SP1Not applicable
Swprv.dll5.2.3790.2978658,43219-Jul-200719:44x64SP1Not applicable
Vssadmin.exe5.2.3790.2978245,24819-Jul-200719:44x64SP1Not applicable
Vssapi.dll5.2.3790.29781,333,24819-Jul-200719:44x64SP1Not applicable
Vssvc.exe5.2.3790.29782,062,84819-Jul-200719:44x64SP1Not applicable
Swprv.dll5.2.3790.2978658,43219-Jul-200719:44x64SP1Not applicable
Vssadmin.exe5.2.3790.2978245,24819-Jul-200719:44x64SP1Not applicable
Vssapi.dll5.2.3790.29781,333,24819-Jul-200719:44x64SP1Not applicable
Vssvc.exe5.2.3790.29782,062,84819-Jul-200719:44x64SP1Not applicable
Swprv.dll5.2.3790.2978658,43219-Jul-200719:44x64SP1Not applicable
Vssadmin.exe5.2.3790.2978245,24819-Jul-200719:44x64SP1Not applicable
Vssapi.dll5.2.3790.29781,333,24819-Jul-200719:44x64SP1Not applicable
Vssvc.exe5.2.3790.29782,062,84819-Jul-200719:44x64SP1Not applicable
Wvssapi.dll5.2.3790.2978565,76019-Jul-200719:44x86SP1WOW
Wvss_ps.dll5.2.3790.297819,45619-Jul-200719:44x86SP1WOW

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

Call stack output

When this issue occurs, the following call stack is generated:
ntdll!RtlAllocateHeap+0x21d
ole32!CRetailMalloc_Alloc+0x16
ole32!CoTaskMemAlloc+0x13 
swprv!VssAllocString+0x13
swprv!CVssIOCTLChannel::UnpackSmallString+0x68
swprv!CVssQueuedSnapshot::LoadStructure+0x2ef
swprv!CVsSoftwareProvider::InternalDeleteSnapshots+0x2df 
swprv!CVssQueuedSnapshot::~CVssQueuedSnapshot+0x12a 
swprv!CVssQueuedSnapshot::`scalar deleting destructor'+0xd 
swprv!CVssQueuedSnapshot::Release+0x27 
swprv!CVsSoftwareProvider::RemoveSnapshotsFromGlobalList+0x17a 
swprv!CVsSoftwareProvider::~CVsSoftwareProvider+0x8d 
swprv!ATL::CComObject<CVsSoftwareProvider>::~CComObject<CVsSoftwareProvider>+0x4c 
swprv!ATL::CComObject<CVsSoftwareProvider>::`scalar deleting destructor'+0xd 
swprv!ATL::CComObject<CVsSoftwareProvider>::Release+0x27 

↑ Back to the top


Keywords: kbautohotfix, kbexpertiseinter, kbhotfixserver, kbqfe, KB940252

↑ Back to the top

Article Info
Article ID : 940252
Revision : 6
Created on : 10/11/2007
Published on : 10/11/2007
Exists online : False
Views : 299