Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Question regarding memory info in error log after 701 error

$
0
0

We've been getting occasional 701 errors (SQL Server 2012 SP1 standard edition) 64 bit. This instance has 64 GB max server memory on a server with 128 GB of RAM. I'm trying to decode the errorlog output and have a couple of questions.

1) General Question -  I see output such as:

---------------------------------------- ----------
VM Reserved                                       0
VM Committed                                      0
Locked Pages Allocated                            0
SM Reserved                                       0
SM Committed                                      0
Pages Allocated                           20452920
2014-01-02 07:31:49.73 spid29s    
MEMORYCLERK_SQLOPTIMIZER (node 0)                KB
---------------------------------------- ----------
VM Reserved                                       0
VM Committed                                      0
Locked Pages Allocated                            0
SM Reserved                                       0
SM Committed                                      0
Pages Allocated                               5896
2014-01-02 07:31:49.73 spid29s    
MEMORYCLERK_SQLOPTIMIZER (node 1)                KB
---------------------------------------- ----------
VM Reserved                                       0
VM Committed                                      0
Locked Pages Allocated                            0
SM Reserved                                       0
SM Committed                                      0
Pages Allocated                                664
2014-01-02 07:31:49.73 spid29s    
MEMORYCLERK_SQLOPTIMIZER (Total)                 KB
---------------------------------------- ----------

What is this saying exactly: If Node 0 has 20452920 KB allocated to this clerk and Node 1 has  5896 KB allocated. Why does the entry regarding(total) say this clerk has 664 allocated? Does total mean something else here?

Question 2.

If I see entries as below, does this mean that the query attempting to get memory diagnostics has itself failed and so the diagnostic info is suspect?

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

VM Reserved                                 3366240
VM Committed                                 131072
Locked Pages Allocated                      1761712
SM Reserved                                       0
SM Committed                                      0
Pages Allocated                            38606944
2014-01-02 07:31:49.73 spid130     Error: 701, Severity: 17, State: 123.
2014-01-02 07:31:49.73 spid130     There is insufficient system memory in resource pool 'internal' to run this query.
2014-01-02 07:31:49.73 spid149     Error: 701, Severity: 17, State: 123.
2014-01-02 07:31:49.73 spid149     There is insufficient system memory in resource pool 'internal' to run this query.
2014-01-02 07:31:49.73 spid130     Error: 701, Severity: 17, State: 123.
2014-01-02 07:31:49.73 spid130     There is insufficient system memory in resource pool 'internal' to run this query.
2014-01-02 07:31:49.73 spid242     Error: 701, Severity: 17, State: 123.
2014-01-02 07:31:49.73 spid242     There is insufficient system memory in resource pool 'internal' to run this query.
2014-01-02 07:31:49.73 spid29s    
MEMORYCLERK_SQLQUERYEXEC (node 0)     

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

best regards

K


Ken Eng


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>