SSMS is a 32-bit application and as a result it can only access a maximum of 2GB RAM even if the system it's running on is 64-bit. This memory limit can result in slow performance when working with larger databases.
You can raise the memory maximum to 4GB by making SSMS large address aware. Please update to SSMS v17.3 or above which is large address aware by default, or raise the amount of RAM available by using the Large Address Aware utility on ssms.exe. See https://www.techpowerup.com/forums/threads/large-address-aware.112556/.
In case making SSMS large address aware does not help:
-
Upgrade to the latest version of SQL Source Control
-
Try to avoid working against a remote database over a slow connection
- Try to avoid linking large static data tables; https://documentation.red-gate.com/soc7/common-tasks/link-static-data
- Uncheck the last two options as shown, if possible:
- Ensure the Decrypt encrypted objects option is unchecked if it's not needed. Source Control decrypts encrypted objects by default, to change this go to SQL Source Control>Setup>Comparison Options>Decrypt encrypted objects.
- Unlinking and re-linking can help in the short term.
If none of the above helps, we advise taking a look at Flyway Desktop which is now the successor to SQL Source Control. It operates independently to SSMS thus avoiding all of the performance bottlenecks: https://documentation.red-gate.com/fd
Was this article helpful?
Articles in this section
- The process cannot access the file 'C:\Users\*******\AppData\Local\Red Gate\SQL Source Control 7\Caches
- Duplicate definition troubleshooting in SQL Source Control
- The target principal name is incorrect
- SQL Source Control can't access this database - make sure the database is online and you have permission to access it
- Meanings of the colored dots in the SSMS Object Explorer for SQL Source Control
- Last Changed By column shows Unknown
- How to Link SQL Source Control to TFS
- How to link to an existing SVN repository
- GIT Push/Pull greyed out
- Objects changed by unknown