Database Research & Development

  • Home
  • NoSQL
    • NoSQL
    • Cassandra
  • Databases
    • Database Theory
    • Database Designing
    • SQL Server Coding Standards
    • SQL Server
    • PostgreSQL
    • MySQL
    • Greenplum
    • Linux
  • Interviews
    • SQL Server Interviews
    • MySQL Interviews
    • SQL Puzzles
  • DBA Scripts
    • SQL Server DBA Scripts
    • PostgreSQL DBA Scripts
    • MySQL DBA Scripts
    • Greenplum DBA Scripts
  • Home
  • Blog Archives !
  • (: Laugh@dbrnd :)
  • Contact Me !
sqlserverinterviews
Home 2015 November SQL Server: Error 701 There is insufficient system memory to run this query

SQL Server: Error 701 There is insufficient system memory to run this query

This article is half-done without your Comment! *** Please share your thoughts via Comment ***

Error 701: “There is insufficient system memory to run this query” this is a common error for those SQL Server DBAs who are managing the big size of SQL Server.

When your SQL Server database occupied by lots connections and require more memory to serve this request, sometimes you get Error 701.

There are different alternative to solve this problem.

First, Check your SQL Server setting for “min server memory” and “max server memory”. If you found very small difference in both the value, increase your “max server memory”.

Second, Found out long running queries with its memory usage information and if this query in idle states, please verify and kill this process. The database performance optimization is a major thing for memory usage.

Third, Found out index usages for long running queries because without proper indexing your system DISK I/O increase and its direct affect to your memory.

Fourth, Check the size of the Virtual memory paging file and increase the size of this file.

Fifth, Check the size of the “min memory per query” actually it is by default 1024 KB but in rare situations, you can decrease the size of this parameter. Actually, this is not advisable, but you can try it.

Sixth, Try to execute this DBCC command and again this is not advisable because it may affect the overall performance of the server.
But you can try this.

1
2
3
DBCC FREESESSIONCACHE
DBCC FREESYSTEMCACHE
DBCC FREEPROCCACHE

Nov 9, 2015Anvesh Patel
PostgreSQL: SELECT Last Inserted ID or Sequence ValuePostgreSQL: Function to truncate all Tables created by Particular User
Comments: 2
  1. puur
    December 6, 2015 at 2:21 pm

    Really fascinating read,thank you for publishing it.Was looking for such an info all over the place,but could hardly find it anywhere,but i am blessed that we found your web site.

  2. bonney
    December 6, 2015 at 7:04 pm

    Hello there, just became alert to your blog through Google, and found that it’s
    truly informative. I am gonna watch out ffor brussels.
    I’ll be grateful if you continue this in future.
    Many people will be benefited from your writing. Cheers!

Anvesh Patel
Anvesh Patel

Database Engineer

November 9, 2015 SQL ServerAnvesh Patel, database, database research and development, dbrnd, error 701, FREESESSIONCACHE, FREESYSTEMCACHE, SQL Query, SQL Server, SQL Server Administrator, SQL Server Monitoring, SQL Server Performance Tunning, SQL Server Tips and Tricks, TSQL
About Me!

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.

About DBRND !

dbrnd

This is a personal blog (www.dbrnd.com).

Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.

Feel free to challenge me, disagree with me, or tell me I’m completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or anonymous comments) - so keep it polite.

The content of this website is protected by copyright. No portion of this website may be copied or replicated in any form without the written consent of the website owner.

Recent Comments !
  • Anvesh Patel { Sure will do... } – May 27, 12:43 PM
  • Anvesh Patel { Great... } – May 27, 12:41 PM
  • Anvesh Patel { Great... } – May 27, 12:39 PM
  • Anvesh Patel { Great... } – May 27, 12:36 PM
  • Anvesh Patel { Great... } – May 27, 12:28 PM
  • Anvesh Patel { Great... } – May 27, 12:27 PM
  • Anvesh Patel { Great... } – May 27, 12:16 PM
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2019 All rights reserved. Database Research & Development (dbrnd.com)
Posting....