You are designing a SharePoint 2010 application. The code makes numerous calls to
SPSite and SPWeb objects. The system and application performance is poor in the test
environment. There is also a high level of memory use for IIS worker processes. You need
to ensure that the application performance and high memory use issues are addressed.
Which approach should you recommend?
A.
Ensure that the Close method of SPSite and SPWeb is called throughout the code.
B.
Ensure that the Dispose method of SPSite and SPWeb is called throughout the code.
C.
Use the Resource Throttling settings in Central Administration to increase site resource
thresholds.
D.
Use the SPSite and SPWeb SharePoint 2010 PowerShell cmdlets.