How do I find memory usage in SQL Server?
Sophia Hammond
Updated on March 01, 2026
How do I find memory usage in SQL Server?
You can monitor memory use at the database level as follows.
- Launch SQL Server Management Studio and connect to a server.
- In Object Explorer, right-click the database you want reports on.
- In the context menu select, Reports -> Standard Reports -> Memory Usage By Memory Optimized Objects.
How much memory does SQL Server use?
How much memory do SQL Servers have? The median SQL Server has 19% of the data size as RAM. Meaning, if it’s hosting 100GB of data, it has 19GB RAM in the server. (Max memory size and file sizes are discussions for another blog post.)
What is using memory in SQL Server?
SQL Server memory is primarily used to store data (buffer) and query plans (cache). In this article I’ll show how much memory is allocated to the data buffer (or RAM). I’ll explain how to determine what tables and indexes are in the buffer memory of your server. SQL Server stores its data in 8KB data pages.
How increase SQL memory usage?
Setting a Maximum Memory Limit for a SQL Server Instance.
- In Enterprise Manager, right-click on the desired SQL Server instance and click Properties.
- In the properties dialog box, click the Memory tab.
- Under the Maximum (MB) slider option, move the slider to the desired maximum value.
- Click OK to save your changes.
How do I free up memory in SQL Server?
Right click on your server name and click Restart. That setting allows to clear the pool, compile memory, all the caches, clr memory, etc. The minimum value for ‘max server memory’ is 128 MB, but it’s not recommended as SQL Server may not start in certain configurations.
How do I limit memory usage in SQL Server?
Can SQL have too much memory?
SQL Server will use as much memory as you let it. Check your maximum memory setting and lower it to make sure you have enough room for the OS to function. A good rule of thumb is 4GB or 10% of total memory, whichever is higher.
Why does SQL Server use so much memory?
SQL Server is designed to use all the memory on the server by default. The reason for this is that SQL Server cache the data in the database in RAM so that it can access the data faster than it could if it needed to read the data from the disk every time a user needed it.
How can I monitor memory usage?
Method 2 – Using Performance Monitor
- Click on Performance Monitor.
- Click on Green colored “Plus” Symbol to open add counters Window.
- To select Memory, search the list of counters and select Memory, click on Add button and then OK button. When the graph appears on the screen, the graph will indicate memory usage.
What is min and max memory in SQL Server?
If an application stops and additional memory is available, the SQL Server instance adjusts its memory allocation. If you open the SQL Server Database instance property and go to the memory section, you find the following configurations. Min Memory: Default value 0 MB. Max Memory: Default value 2147483647 MB.
How do I clear SQL memory?
Flush the entire plan cache for a SQL Server instance. Flush the plan cached for an entire instance, but suppress the output messages. DBCC FREEPROCCACHE WITH NO_INFOMSGS; To flush a specific resource pool, we can use this command to see how much memory is being used for each resource pool.
How do I reduce SQL memory usage?