Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

There is insufficient system memory in resource pool 'default' to run this query Expand / Collapse
Author
Message
Posted Wednesday, January 1, 2014 8:19 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, April 23, 2014 11:01 AM
Points: 3, Visits: 89
Os version : Windows Server 2003, Enterprise Edition 32-bit AWE enabled.
Sql Server:Microsoft SQL Server 2008 R2 (SP2) - 10.50.4276.0 (Intel X86)

2 node physical cluster.
min memory:2048 Max memory:10240 min memory per query:1024
total RAM: 32GB
Page File Space:3.98 GB

Three months back we go this issue "There is insufficient system memory in resource pool 'internal' to run this query" we have max server memory as 12 GB then and from the reference of the link we had changed it to 10 gb http://social.technet.microsoft.com/Forums/sqlserver/en-US/60d20f7a-8d64-48b1-ade9-8ba648e5945c/there-is-insufficient-system-memory-in-resource-pool-default-to-run-this-query?forum=sqldatabaseengine

and now it is repeatedly occuring every week.



  Post Attachments 
insufficient system memoryupload_31122013.txt (11 views, 328.83 KB)
Post #1526909
Posted Wednesday, January 1, 2014 11:14 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 7:30 PM
Points: 36,766, Visits: 31,222
krishnamohan6669 (1/1/2014)
and now it is repeatedly occuring every week.


So, what is running at that time "every week"? I ask because I'm thinking the "top" symptom of not having enough memory to run a given query is at fault. You need to find that query and fix it so that it runs more efficiently.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1526925
Posted Wednesday, January 1, 2014 8:53 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, April 23, 2014 11:01 AM
Points: 3, Visits: 89
Perl script job which inserts data for about 5GB daily.and they are doing the same process from many months and they are experiencing the problems from recent months.

Can u justify or recommend anything after watching the attached memory status.
Post #1526972
Posted Friday, January 3, 2014 11:04 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Friday, July 25, 2014 10:16 AM
Points: 1,612, Visits: 1,537
My first recommendation would be to upgrade to 64 bit. Preferably on Windows 2012.





My blog: SQL Soldier
Twitter: @SQLSoldier
My book: Pro SQL Server 2008 Mirroring
Microsoft Certified Master: SQL Server 2008
Principal DBA: Outerwall, Inc.
Also available for consulting: SQL DBA Master
Post #1527657
Posted Friday, January 3, 2014 12:24 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 7:30 PM
Points: 36,766, Visits: 31,222
krishnamohan6669 (1/1/2014)
Perl script job which inserts data for about 5GB daily.and they are doing the same process from many months and they are experiencing the problems from recent months.

Can u justify or recommend anything after watching the attached memory status.


Heh... I've run into those exact problems before. I don't know what the Perl script is actually doing for you that might be special but, if it's just a flat file import, then BULK INSERT is your best bet.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1527688
Posted Tuesday, January 7, 2014 10:33 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, April 23, 2014 11:01 AM
Points: 3, Visits: 89
Found that more MAX I/O Waittime is recorded with spotlight,so trying to increase the virtual file size. should wait and see wether this occurs again.
Post #1528759
Posted Wednesday, January 8, 2014 3:33 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, July 24, 2014 9:56 AM
Points: 7,120, Visits: 13,491
krishnamohan6669 (1/7/2014)
Found that more MAX I/O Waittime is recorded with spotlight,so trying to increase the virtual file size. should wait and see wether this occurs again.


Jeff is proposing that you examine the perl script for optimisation opportunities. Having identified the perl script as the culprit, the cause of your problem, this would be the logical next step. Either it can be improved, or it cannot, and if it cannot, then you eliminate it from your list of entities to examine. Painting the rims of a broken-down car might make it look pretty but it wastes time and won't get you home.


“Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
Exploring Recursive CTEs by Example Dwain Camps
Post #1528823
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse