Optimizing SharePoint 2013 Development Environments


SharePoint 2013 is VERY resource hungry and some of us are stuck with development environments with just 16GB of RAM. In order to actually develop in these conditions we must throttle services and be very careful how we configure our development environments. I’ve written a PowerShell script that will run through many of the optimizations that can be done and pre-configure them. You could say I’ve optimized the optimization.

The script consists of two types of optimizations. Automated and manual. Beware that the script will attempt to make all automated optimizations immediately when ran. The script assumes that SQL is installed locally. Please see review the list of optimizations below before running to ensure there is no conflict with your development environment.

Download SharePoint 2013 Optimization PowerShell Script

Automated optimizations

  • Set the search service performance to REDUCED
  • Set the AppFabric cache to a maximum of 300MB
  • Set the search NodeRunner.exe to a maximum of 50MB
  • Set all user databases to SIMPLE recovery mode
  • Set SQL maximum server memory to 2.5GB

Manual optimizations

  • Use only one web application
    This is a tough one but makes a massive difference. Each web application has a tremendous amount of overhead including IIS Application Pools, Timer Jobs and Content Databases. You can easily configure your Intranet and My Sites on the same web application. For development purposes I use /my/ for the My Site Host and /my/personal/* for my My Sites.

If anyone has any ideas for further optimization while still keeping a highly functional development environment then please leave a comment!

Inspiration for this script came from Ram Prasad for his blog post on Optimizing Server Configuration for Development Farms.

I'm a public speaker and the Chief SharePoint Architect for Eastridge, a Microsoft Gold Partner specializing in SharePoint and custom application development in Winston-Salem, NC. I focus on the SharePoint platform with a specialty in Information Architecture, Publishing and Best Practices.

Got something to say? Go for it!