HiveBrain v1.2.0
Get Started
← Back to all entries
debugsqlMajor

Accidentally turned down SQL memory too low to log in, how do I fix?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
fixlowsqllogtoodownmemoryhowaccidentallyturned

Problem

I turned down the Maximum Memory of the my SQL Server instance to 15 MB... Now I can't log in to increase it. How can I increase the maximum memory without logging in?

Version is SQL 2008 R2

Solution

Connect using the Dedicated Administrator Connection (DAC), which is guaranteed a minimal amount of resources in order to solve issues exactly like this one. For example, if you are connecting via Management Studio, launch a New Query window and just type ADMIN:servername instead of servername when it prompts you to connect. Ignore any errors you get which are usually benign as they are associated with Object Explorer, the database dropdown list, IntelliSense, etc. also trying to connect on your behalf (only one DAC connection is allowed).

More info here, here, and some troubleshooting here.

Context

StackExchange Database Administrators Q#40481, answer score: 20

Revisions (0)

No revisions yet.