Friday, April 4, 2014

There is insufficient system memory in resource pool 'default' to run this query

We have encounter “insufficient memory” issue on SQLServer cluster and found below error in Event Viewer and Error.log

2014-04-04 05:36:16.83 spid136 Error: 701, Severity: 17, State: 123.
2014-04-04 05:36:16.83 spid136 There is insufficient system memory in resource pool 'default' to run this query. 


Below are the main reasons for the issue

1. The physical memory is completely used and not available for SQLServer
2. SQLServer engine Max memory allocation has been reached limit.
3. Virtual memory is full

First find out which processes are consuming memory, if any tools or application processes outside of sqlserver consuming and then you can close or kill the process, if not important.

Run below command to find out memory Status

DBCC MEMORYSTATUS

You can also run below commands to clear the memory

DBCC FREESYSTEMCACHE
DBCC FREESESSIONCACHE
DBCC FREEPROCCACHE
DBCC DROPCLEANBUFFERS

Possible workaround/solution:

If the physical memory on the server is full and you have allocated “Maximum Server memory” for SQL Server close the physical memory of the server then I would recommend decreasing the “Maximum Server memory” of SQL Server to left some memory for Operating system.

If your SQLServer engine max server memory is reached the limit and you still have physical memory available then I would advise increasing the “Maximum Server memory” will help.

If your Virtual memory is full then you need more Physical memory and I would advise to add the same.

Regards
Satishbabu Gunukula
http://www.sqlserver-expert.com

13 comments:

  1. hi guys,
    looking for sql server developer then i would like to show you a name who has great experience with great companies now he is a free worker with good knowledge of sql server developing .he is a very very talented in developing so i will not allow you to wait for the name so lets meet Mr. Chrlie .please see the link for more details.: SQL server expert thank you

    ReplyDelete
  2. Also expert working with databases computers should likewise have the ability to produce a shaver sharpened target. The actual everyday server jobs is usually different while techniques can easily breakdown pertaining to a number of motives.

    ReplyDelete
  3. Dumb question: Works on SQL Server 2012 Evaluation Edition?

    ReplyDelete
  4. Do you really mean Evaluation or the Express ? Personally I would never use a timed bomb software for a Database except for a very short test, since an evaluation process is prone to unpredictable issues that can delay a timeline to exceed the trial period, if it is a small project you can probably use the Express edition instead and if it is a big one they hopefully can pay for a license.

    ReplyDelete

  5. Nice Article !

    Really this will help to people of SQL Server Community.
    I have also prepared small note on this, why insufficient system meory error in SQL Server.

    http://www.dbrnd.com/2015/11/sql-server-error-701-there-is-insufficient-system-memory-to-run-this-query/

    ReplyDelete
  6. It is for our health benefits. However, cleaning them is not always easy. There are lots of things to be done just to keep the them clean.SCOTT

    ReplyDelete
  7. Messy channels must be absorbed an answer of 10% muriatic corrosive or Trisodium Phospate arrangement. swimming pool maintenance

    ReplyDelete
  8. By guaranteeing that your pH levels, calcium hardness, and alkalinity in are balance, you're shielding your swimming pool venture from consumption or scale development that can happen over the winter while the pool is shut! swimming pools

    ReplyDelete
  9. Make it even more a test by setting somebody amidst the pool as the "shark" who attempts to get the "minnows" swimming over the pool in the exemplary round of "sharks and minnows".pool cleaning

    ReplyDelete
  10. On the administration end, electronic auto fills and salt water chlorinators give bother free arrangements that keep pools perfectly clear and running easily Zwembaden

    ReplyDelete
  11. This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! weekly pool service near me

    ReplyDelete
  12. Exactly what precisely are the utilization and conditions of your swimming pool? visit this hyperlink

    ReplyDelete
  13. thanks for the tips and information..i really appreciate it.. 바카라사이트

    ReplyDelete