You should always leave some memory for the OS as you said. For a server running 32Gb of memory, I would set my MaxMem setting to around 24Gb (24,576 MB) assuming that Sql Server is the only application running on this server. This setting leaves around 8Gb for the OS which should suffice.
What should be the Ideal SQL Server memory allocation?

Babawale Dawodu
110
Reputation points
My SQL Server 2019 memory allocation is set to Min memory of 0 (which I find normal) and Max memory of 2.14TB with 32gb RAM.
2.14 TB seems to be the default allocation, meaning nothing had been preserved for the OS. Should there be cause for alarm or should the max value be reduced by say 10%?
Thanks in Advance
SQL Server Other
14,494 questions