Some time ago, when I tested the MEMORY database of SQL Server 2014, I found that if the size of the database exceeded the set maximum memory, Error: 701 occurred in SQL Server.
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 could still connect it with DAC when I was out of memory.
Here’s what I did:
Default connection failure:
The DAC connection is successful (you can also use SQLCMD DAC):
Since the server still had memory resources at that time, It was ok to directly modify the maximum memory:
sp_configure ‘show advanced options’, 1;
GO
RECONFIGURE;
GO
sp_configure ‘max server memory’, 4096;
GO
RECONFIGURE;
GO
If connected to THE DAC, you can check the status of the system, and the session found some problems can be processed, so there is no need to restart the SQL Server, and problems can be found in a timely manner.
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 could still connect it with DAC when I was out of memory.
Here’s what I did:
Default connection failure:
The DAC connection is successful (you can also use SQLCMD DAC):
Since the server still had memory resources at that time, It was ok to directly modify the maximum memory:
sp_configure ‘show advanced options’, 1;
GO
RECONFIGURE;
GO
sp_configure ‘max server memory’, 4096;
GO
RECONFIGURE;
GO
If connected to THE DAC, you can check the status of the system, and the session found some problems can be processed, so there is no need to restart the SQL Server, and problems can be found in a timely manner.
Read More:
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- [PostgreSQL tutorial] · out of memory issue
- Oracle 11g installation prompt ora-27102: out of memory
- CUDA error:out of memory
- MobaXterm error cuda:out of memory
- Out of memory overflow solution for idea running error
- Runtimeerror using Python training model: CUDA out of memory error resolution
- RuntimeError: CUDA error: out of memory solution (valid for pro-test)
- RuntimeError: CUDA out of memory. Tried to allocate 600.00 MiB (GPU 0; 23.69 GiB total capacity)
- Idea pop-up window out of memory, modify the parameters and start the no response solution
- Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- Android avoids memory leak: reasonable use of getcontext() and getapplication ()
- Putty prompt connection time out
- [resolved] exception java.net.ConnectException : Error opening socket to server Connection timed out.
- Ubuntu 20.04 GPG: KeyServer receive failed: connection timed out when installing ROS configuration key
- Putty:Network error:Connection timed out
- Error: JMeter monitors Linux system performance java.net.ConnectException : Connection timed out: connect
- Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect
- The difference, cause and solution of memory overflow and memory leak
- picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resource