Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 There is insufficient system memory to run this qr
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

105 Posts

Posted - 07/23/2013 :  12:10:11  Show Profile  Reply with Quote
We are getting right now following error:
We have Sql 2005 with 4 GB Memory

There is insufficient system memory to run this query.
Error: 701, Severity: 17, State: 42.

then it contains another messages like:
VM Reserved = 0 KB
VM Committed = 0 KB
AWE Allocated = 0 KB
SM Reserved = 0 KB
SM Committed = 0 KB
SinglePage Allocator = 31280 KB
MultiPage Allocator = 4504 KB

USERSTORE_ related

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 07/23/2013 :  13:06:57  Show Profile  Reply with Quote
I have not run into this problem, but googling for it, I see this support issue - see if that sheds any light:
Go to Top of Page

Posting Yak Master

105 Posts

Posted - 07/23/2013 :  17:46:28  Show Profile  Reply with Quote
Thanks James.
I already seen that url. Our query is very complex and big so we might need to look into and also replication runs every few minutes interval so consuming more memory.

Go to Top of Page


5072 Posts

Posted - 07/24/2013 :  09:19:41  Show Profile  Visit russell's Homepage  Reply with Quote
is there a very large IN(...) clause? IF so, try putting the values into a temp table and joining to it instead of using IN.

If that's not it, post the query.
Go to Top of Page

Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 07/24/2013 :  14:49:36  Show Profile  Visit jackv's Homepage  Reply with Quote
the 701 can be caused by a number of different reasons. This is the pririty list I normally use to troubleshoot the 701 :

Jack Vamvas
Go to Top of Page

Posting Yak Master

105 Posts

Posted - 07/29/2013 :  11:31:46  Show Profile  Reply with Quote
Thanks all of you, It was query issue which is building dynamically but this time it was not proper joined.

During new migration in production for Sql 2008R2, what should be memory settings for MIN and MAX as we have Replication DBB also running with other batch job?

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000