Fix SQL Server Express memory growth

Here’s a simple batch script to restart SQL Server Express – I find memory used grows to at least 300 MB over time, although I do tend to leave Management Studio open for a lot of that period.

REM Simple batch script to restart SQL Express
REM BRD: 20110928
REM http://www.brdalby.co.uk/
net stop MSSQL$SQLEXPRESS
net start MSSQL$SQLEXPRESS
pause