Export (0) Print
Expand All
AlternateStreamProviders property
CommunitySearchUrl property
DenyPermissionsMaskRefreshInterval property
EnableSideBySide property
O365CommunityUrl property
OfficeSupportUrl property
RegisteredDatabaseExtensionTypes property
SideBySideToken property
WellKnownAppPrincipals property
Expand Minimize

SPWebService.CollectSPRequestAllocationCallStacks property

If true, the callstack of every SPRequest allocation will be collected.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool CollectSPRequestAllocationCallStacks { get; set; }

Property value

Type: System.Boolean
Returns Boolean.

This is a diagnostic setting that facilitates the debugging of leaks of SPSite and SPWeb objects. If not disposed properly these objects can hold onto large amounts of memory. By enabling this setting, traces in the trace log that report leaks will contain callstacks. However, callstack collection is expensive so this should only be enabled during a brief diagnostic period.

© 2014 Microsoft