There is insufficient system memory in resource pool 'internal' to run this query. + SQL Server 2016 +Sp1

Doddasiddavannahally, Pradyothana 41 Reputation points
2021-09-28T07:04:49.507+00:00

Failed allocate pages: FAIL_PAGE_ALLOCATION

This happens now and then on one of our SQL Server and it becomes unresponsive.
The only solution is to restart the server, we already capped max memory with13 GB and box is running with 16GB RAM.

We don't want to increase the resources, is there any bug on SP1 which is causing the memory pool issue.

SQL Server | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.9K Reputation points MVP Volunteer Moderator
    2021-09-28T21:49:42.897+00:00

    First of all, install the most recent service pack for SQL 2016, which is SP3.

    Next, yes, you should try add more memory. 16 GB is not a lot for SQL Server these days.

    Most likely this is an issue with your workload. Since we don't know anything about it, we cannot say much. But usually, there is a dump of used memory in the SQL Server errorlog when this happens. You can use this to see where the memory is being spent.


  2. CathyJi-MSFT 22,396 Reputation points Microsoft External Staff
    2021-09-29T03:17:25.423+00:00

    Hi @Anonymous ,

    > is there any bug on SP1 which is causing the memory pool issue.

    Firstly I would suggest you apply the latest SP3 to SQL 2016 as Erland mentioned. You can get it from this link.

    Then please follow below MS document to troubleshot your issue.

    Troubleshooting Memory Issues


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.