Accidentally set SQL Server 2008R2 Max memory to 0

Source: Internet
Author: User
Tags server memory

Do SQL Server memory Max memory set the idea, the maximum value of 0, how can not connect to the database, which is really urgent ah, finally saw a text command to save back, other very simple urgency is not come up.
1. Pause all SQL Server services.

2. With Sqlservr.exe-m "sqlcmd", the Sqlsever can only perform sqlcmd commands.

3. Perform the sqlcmd command.

4. Perform all of the following commands in sequence.

sp_configure ' show advanced options ', 1;
Go
RECONFIGURE;
Go sp_configure ' max server memory ', 2147483647;
Go
RECONFIGURE;
Go

Finally restart SQL Server finally normal, today is lantern this is a test of their own experience.

Accidentally set SQL Server 2008R2 Max memory to 0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.