Hi @Chaitanya Kiran
SQL Server using 96% of memory. So, can I simply ignore? What if it consumes 99%?
Refer to this article from Brent Ozar: A Sysadmin’s Guide to Microsoft SQL Server Memory.
Task Manager doesn't always show correctly the memory eaten by SQL Server and its additional services. On 64-bit boxes, this number is somewhat more accurate, but on 32-bit boxes, it’s just completely off-base.
For correct memory report, you could try this query or trust Performance Monitor to report memory, not Task Manager.
SELECT DB_NAME(database_id) AS [Database Name],COUNT(*) * 8/1024.0 AS [Cached Size (MB)]
FROM sys.dm_os_buffer_descriptors
WHERE database_id > 4 -- system databases
AND database_id <> 32767 -- ResourceDB
GROUP BY DB_NAME(database_id)
ORDER BY [Cached Size (MB)] DESC OPTION (RECOMPILE);
No matter how much memory you put in a system, SQL Server will use all it can get until it’s caching entire databases in memory and then some. If you’re going to run other software on the server, you can set SQL Server’s maximum amount of memory to leave memory free for other applications.
Max Server memory = (Total Server memory – Memory for OS) – (Stack Size * max worker threads)
Please refer to this article for more details: Min and Max memory configurations in SQL Server Database instances.
Best regards,
Cosmog Hong
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.