Error: When 701 of memory is insufficient, use DAC to connect.

Source: Internet
Author: User

When I tested the SQL Server 2014 memory database some time ago, I found that if the database size exceeds the configured maximum memory size, SQL Server encountered Error: 701.

Error message:

Error: 701, Severity: 17, State: 123.

There is insufficient system memory in resource pool 'internal' to runthis query.

At that time, I deleted the database and restarted it. In fact, when the memory is insufficient, DAC can still be connected.

The following is my test:

Default Connection Failed:

650) this. width = 650; "src =" http://img.blog.csdn.net/20130723143941000? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

You can use the DAC to connect successfully (or use the sqlcmd DAC ):

650) this. width = 650; "src =" http://img.blog.csdn.net/20130723143954640? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

Because I still had memory resources on the server at the time, I can directly modify the maximum memory:

Sp_configure 'show advanced options', 1;

GO

RECONFIGURE;

GO

Sp_configure 'max server memory ', 4096;

GO

RECONFIGURE;

GO

If the DAC is connected, you can view the status of the system and process the problematic sessions. In this way, you do not need to restart the SQL Server and discover the problems in time.

 

This article is from the "follow SQL Server Technology" blog, please be sure to keep this source http://lzf328.blog.51cto.com/1196996/1255341

Related Article

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.