Security Compliance

How to set a memory limit for the SQL Server in ARM

This article describes how to set a memory limit for the SQL Express Server in ARM when it runs on the same machine as the ARM Server.

First published date

12/23/2021 4:15 PM

Last published date

2/11/2022 2:56 PM

Overview

  • The SQL Server is set by default to allocate all the available RAM in the machine
  • This may cause problems to the application.

Product section

Access Rights Manager

Cause

  • The SQL Server is set by default to allocate all the available memory on the machine if needed. This may cause problems to the applications hosted in the machine.

Resolution

  • Set "max server memory" in SQL Server Management Studio
  • Now we will set the "max server memory" option to limit the memory usage by SQL Server. We can do this by right-clicking on our instance and choosing "Properties":
  • (Screenshots property of © <2021 <Microsoft>)
  • image.png
  • (Screenshots property of © <2021 <Microsoft>)
  •  
  • image.png
  • Apply the changes and restart the ARM-Service on the ARM Server.