Do you know to never give SQL Server all your RAM?
Last updated by Tiago Araújo [SSW] 3 months ago.See historyMicrosoft SQL Server is made to use all the available memory in a server for itself. It will eat all the memory you throw at it. This can be a problem because your other applications may suffer performance problems as all the system memory is gone. To limit this behaviour you can limit the maximum amount of memory SQL is allowed to use.
-
Open SQL Server Management Studio
-
Right click on the server name and select “Properties”
-
Select the “Memory” tab
-
You will see that the default number is HUGE. Change this to something more realistic. Let SQL use half of the memory in your server.Leave about 1024MB headroom. For example, if you server has 4GB of RAM, give the SQL server a Maximum server memory of 2048mb.
This will prevent SQL from “owning” all of the RAM on your system,leaving some memory left for your other applications to use.