Undisposed Object Finder Application

Rating: No reviews yet
Downloads: 50
Released: May 31, 2013
Updated: Jun 1, 2013 by YuriLeontyev
Dev status: Beta Help Icon

Recommended Download

Application spSitePro.UndisposedObjectsFinder.zip
application, 25K, uploaded May 31, 2013 - 50 downloads

Release Notes

WinForms application that goes through ULS logs, parses them and detects log messages for undisposed objects.

It allows to:
  1. Scan for undisposed objects log entries and show full stack trace of undisposed SPRequest creation
  2. Exclude logs messages (to filter Microsoft dispose issues)
  3. Include only specific log messages

To prepare your environment:
  1. Enable logging full stack trace for dispose messages (see code below)
  2. Test business logic
  3. Analyze the results using the application

PowerShell code to enable logging full stack trace for undisposed objects:
System.Reflection.Assembly::LoadWithPartialName("Microsoft.SharePoint") > $null
$contentSvc = Microsoft.SharePoint.Administration.SPWebService::ContentService
$contentSvc.CollectSPRequestAllocationCallStacks = $true


Reviews for this release

No reviews yet for this release.