Did you know, you don't have to recycle IIS most of the time, just the application pool our site is running within? Yes, for development purposes, we can run all SharePoint sites off the same app pool. We know, not the most secure, but each app pool consumes roughly 100MB of memory so why have a ton of them floating around in a virtual machine when memory is precious!
Instead of recycling IIS, we can create a shortcut that we can add to Quick Launch that recycles the app pool all sites run under. To do this, create a new shortcut on your desktop and enter the following target: %windir%\system32\cscript.exe c:\windows\system32\iisapp.vbs /a "[Name of your App Pool]" /r
Then drag the shortcut onto your Quick Launch toolbar. Click it and watch how fast an app pool is recycled compared to IIS!
3 comments:
nice article and valuable information
Thanks Paramesh...
You can never say that Application pool uses around 100MB. It can use more than that as it entirely depends on the code behind and processes running under the head of that apppool.
Post a Comment