r/SQLServer • • Feb 18 '26

Question SQLServer not using Memory

Hey everyone,

I have got a question regarding two of my 2019 SQL Servers. After the last reboot due to patches, the Servers do not grab the min server memory anymore. In the past, our servers would use the configured max server memory of 85% even after restarting and now they only grab what they need. Anyone knows why that could be?

7 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/gohanner Feb 18 '26

Thank you for your answer! I am working with Databases for about two years now and I have no experience in other Environments so for me the behaviour was very unusual. To clarify my confusing mix up, for our 3 TB Node min Memory was always set to around 1.5TB while Max is set to about 2.3 TB and the sql Server, atleast in the past, used the 2.3 TB shortly after restart. Now it is not even reaching the min value which sounds wrong but I remember reading that this is also not unusual. If I run a big Select count (*) the Server takes the Memory really fast so there seems to be no Performance issues but I would Like to find out what changed. I will see if I can figure out if there should be more happening during startup. Thanks again! 

2

u/VladDBA ‪ ‪Microsoft MVP ‪ ‪ Feb 18 '26

Got it.

Regarding the Min Memory limit: that doesn't mean "SQL Server will grab all of this from the start", SQL Server will still only use only the amount of memory it needs to just run. But besides the small amount of memory the process actually needs to just start up and run, it won't have what to load in memory to reach your large Min Memory limit until there's something actively using SQL Server.

2

u/No_Resolution_9252 Feb 19 '26

Minimum memory only gets pre-allocated if you are using large page allocation which requires the sql server service account have the log pages in memory permissions and traceflag 834 be enabled. If uou don't have a very specific routine for restarting a SQL server before allowing it to be failed over to, you probably aren't using this. At large amounts of memory, that pre-allocation can be slow on restart.