Sqlserver-dba.com

SQL Server BACKUP - There is insufficient system memory to run this query

On a particular server - I see these entries in the Logs, which correlate with failed BACKUP messages from the TSM server  :

BackupVirtualDeviceSet::SetBufferParms: Request large buffers failure on backup device 'TDPSQL-000002F8-0000'. Operating system error 0x8007000e(error not found).

My immediate impression was lack of  memory.

This server has 32 GB physical memory on a 32 bit Windows 2003 Enterprise Edition , so I checked the following :
-  /PAE switch in the boot.ini file (no /3GB switch)
-  maximum memory set on SQL Server (17GB)
-  AWE is set on
-  User running SQL Server - has Lock pages in memory

All this seems OK . Looking further into the Memory manager

VM Commited displays physical memory amount SQL Server allocated ising VirtualAlloc's MEM_COMMIT .
AWE allocated displays the memory amount allocated by AllocateUserPhysicalPages.
Adding these 2 will give approximately the amount SQL Server memory usage

Memory Manager
 VM Reserved = 1645036 KB
 VM Committed = 211672 KB (.201) GB
 AWE Allocated = 17408000 KB (16.6015625 GB)
 Reserved Memory = 1024 KB
 Reserved Memory In Use = 0 KB


It appears the SQL server is reaching it's memory limit .

One answer is to increase Memory allocation , another option is to investigate the cause of large memory usage 

Source:Jack Vamvas (http://www.sqlserver-dba.com)
Author: Jack Vamvas (http://www.sqlserver-dba.com)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact