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

Source: Internet
Author: User
Tags server memory

Previous testsSQL Server 2014Memory Database, if the database size exceeds the configured maximum memory,SQL ServerAppearsError: 701Error.

 

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, I used it when the memory is insufficient.DACIt can still be connected.

 

The following is my test:

Default Connection Failed:

UseDACConnection successful(You can also useSqlcmd DAC ):

 

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

 

DACYou can check the status of the system and find some problems.SessionCan be processed, so you do not need to restartSQL Server, and timely detection of problems.

 

 

 

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.