Created On:  14 June 2011

Problem:

This could be a potential show stopper if Symantac Endpoint Protection installed. DevPartner is not able to detect the memory leaks from the sample program if sysfer.dll is in the list of modules loaded.  Please see the attached sample program.

Resolution:

Visual Studio will load sysfer.dll (from Symantec CMC Firewall) when running the sample program. And sysfer.dll is interrupting the functionality needed by DevPartner to profile the program.

To prevent sysfer.dll from loading in the Visual Studio, use regedit to set the following registry to 4:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant]
"Start"=dword:00000004
Reboot after changing the regedit.
 
Run the sample solution in Studio Studio after the reboot, you will see that sysfer.dll is no longer in the list of modules loaded.