[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/06/2009 at 01:11AM PDT, ID: 24788057
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.8

How to claim / free up  memmory used by SQL server?

Asked by needo_jee in SQL Server 2005

Tags: SQL SERVER MEMMORY MANAGEMENT

I have written a desktop application with VB.Net + SQL server. It performs very frequent updates and inserts but during these update operations the memory usage by SQL server increases very rapidly and reaches about 1.60 GB which makes system very slow.

- I have used transaction (ADO.Net)
- The update query may consists of hundreds of  update statements like "update myTable set X1=9 where X1=8; update myTable set X1=8 where X1=7"
- It includes more than one table to update. First updating a record in table 1, then 100 records in another table

Could anyone tell me what is the reason for so much memory usage?

It keeps memory in use even the application is closed.

In Task Manager under processes tab it shows SQL server process is using 641772 KB of Memory.

I have double checked.
- There is no Transaction blocking
- There is no opened connection left. (every time any query is executed it opens connection and closes at the end)
- One update query which may contains hundreds of update statements only opens 1 connection.

-Thanks


[+][-]10/06/09 01:21 AM, ID: 25502775

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/06/09 01:42 AM, ID: 25502886

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/06/09 02:24 AM, ID: 25503109

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/06/09 04:37 AM, ID: 25503844

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: SQL SERVER MEMMORY MANAGEMENT
Sign Up Now!
Solution Provided By: gurvinder372
Participating Experts: 2
Solution Grade: B
 
 
[+][-]10/06/09 05:02 AM, ID: 25504024

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/06/09 05:04 AM, ID: 25504030

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/06/09 05:13 AM, ID: 25504089

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/01/09 02:27 PM, ID: 25715899

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11/03/09 01:27 PM, ID: 25733931

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625