Quantcast
Channel: SQL Server Database Engine Forum
Viewing all articles
Browse latest Browse all 15872

There is insufficient system memory in resource pool 'internal' to run this query - SQL 2014 SP3

$
0
0

Hi All,

I'm running SQL 2014 SP3 and after July 2019 patching I'm seeing lots of errors relating to memory issues i.e.  There is insufficient system memory in resource pool 'internal' to run this query

This is causing alot of problems executing basic queries and backups are failing

The server itself has plenty of available memory and max memory is set to 65 GB. I noticed from a monitoring tool that we use we observed and a severe degradation in the maximum workspace memory and a massive increase in pages allocated to memoryclerk_SOSNODE.  This all occurred after installed July 2019 updates KB4504418, KB4507448, KB506996 & KB507005

Do you think the updates have caused a memory leak, We are planning to install SP3 CU3 later this week

Below is the output from DBCC MEMORYSTATUS

Process/System Counts                   Value

---------------------------------------- --------------------

Available Physical Memory               165309018112

Available Virtual Memory                140583747022848

Available Paging File                   201184542720

Working Set                             1112621056

Percent of Committed Memory in WS       99

Page Faults                             9545792

System physical memory high             1

System physical memory low              0

Process physical memory low             1

Process virtual memory low              0

(10 row(s) affected)

Memory Manager                          KB

---------------------------------------- -----------

VM Reserved                             149521168

VM Committed                            1172256

Locked Pages Allocated                  64049508

Large Pages Allocated                   0

Emergency Memory                        1024

Emergency Memory In Use                 16

Target Committed                        67108872

Current Committed                       65221768

Pages Allocated                         63602752

Pages Reserved                          -852016

Pages Free                              125264

Pages In Use                            63571528

Page Alloc Potential                    181896

NUMA Growth Phase                       2

Last OOM Factor                         1

Last OS Error                           0

(16 row(s) affected)

Memory node Id = 0                      KB

---------------------------------------- -----------

VM Reserved                             117265664

VM Committed                            1170680

Locked Pages Allocated                  31385924

Pages Allocated                         31137760

Pages Free                              46824

Target Committed                        33554424

Current Committed                       32556608

Foreign Committed                       0

Away Committed                          0

Taken Away Committed                    0

(10 row(s) affected)

Memory node Id = 1                      KB

---------------------------------------- -----------

VM Reserved                             32255440

VM Committed                            1556

Locked Pages Allocated                  32663584

Pages Allocated                         32464992

Pages Free                              78440

Target Committed                        33554424

Current Committed                       32665144

Foreign Committed                       0

Away Committed                          0

Taken Away Committed                    0

(10 row(s) affected)

Memory node Id = 64                     KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            20

Locked Pages Allocated                  0

(3 row(s) affected)

MEMORYCLERK_SQLGENERAL (node 0)         KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         20568

(6 row(s) affected)

MEMORYCLERK_SQLGENERAL (node 1)         KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         352

(6 row(s) affected)

MEMORYCLERK_SQLGENERAL (Total)          KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         20920

(6 row(s) affected)

MEMORYCLERK_SQLBUFFERPOOL (node 0)      KB

---------------------------------------- -----------

VM Reserved                             13634884

VM Committed                            524288

Locked Pages Allocated                  287548

SM Reserved                             0

SM Committed                            0

Pages Allocated                         1378936

(6 row(s) affected)

MEMORYCLERK_SQLBUFFERPOOL (node 1)      KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         146128

(6 row(s) affected)

MEMORYCLERK_SQLBUFFERPOOL (Total)       KB

---------------------------------------- -----------

VM Reserved                             13634884

VM Committed                            524288

Locked Pages Allocated                  287548

SM Reserved                             0

SM Committed                            0

Pages Allocated                         1525064

(6 row(s) affected)

MEMORYCLERK_SQLQUERYEXEC (node 0)       KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         280

(6 row(s) affected)

MEMORYCLERK_SQLOPTIMIZER (node 0)       KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         1848

(6 row(s) affected)

MEMORYCLERK_QUERYDISKSTORE (node 0)     KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         1432

(6 row(s) affected)

MEMORYCLERK_SQLUTILITIES (node 0)       KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         248

(6 row(s) affected)

MEMORYCLERK_SQLUTILITIES (node 1)       KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         16

(6 row(s) affected)

MEMORYCLERK_SQLUTILITIES (Total)        KB

---------------------------------------- -----------

VM Reserved                             0

VM Committed                            0

Locked Pages Allocated                  0

SM Reserved                             0

SM Committed                            0

Pages Allocated                         264

(6 row(s) affected)



Viewing all articles
Browse latest Browse all 15872

Trending Articles