Disallowing page allocations for database '' due to insufficient memory in the resource pool 'default'.

If you are getting bored, just go through SQL error logs to get interesting things. Just like I did it today. I was preparing for one blog post and while checking few things in error log I found one entry as below.

2022-11-03 13:50:05.080 spid12s      Disallowing page allocations for database 'trans_DB' due to insufficient memory in the resource pool 'default'. See 'http://go.microsoft.com/fwlink/?LinkId=510837' for more information.

To know more about this issue, I went through the link given in the log. Also, referred my favorites SQL blog authors. After some analysis I found that,

If you get the error message, Disallowing page allocations for database '*\<databaseName>*' due to insufficient memory in the resource pool '*\<resourcePoolName>*'. See 'https://go.microsoft.com/fwlink/?LinkId=330673' for more information. in the error log when the available physical memory is sufficient to allocate the page, it may be due to a disabled Resource Governor. When the Resource Governor is disabled MEMORYBROKER_FOR_RESERVE induces artificial memory pressure.

To resolve this you need to enable the Resource Governor.

Ref : Resolve Out Of Memory Issues - SQL Server | Microsoft Learn

As given in the documentation, I just enable resource governor as given below. After that this message never logged in SQL error logs.  

 



 

Comments

Post a Comment

Popular posts from this blog

What is DACPAC and how to use it?

Backdoor in SQL server. Is this hacking, loop hole or Feature ?

Always on setup end to end - Part 1 || Pre-requisites