Solved

SQLServer.exe Taking All Free Memory

Posted on 2006-11-03
3
507 Views
Last Modified: 2008-02-01
When I logged into Windows XP Pro this morning, the SqlServer.exe process had taken all of the free memory (500M) for itself. Why would it do that? Logging out and back in did not correct it, but restarting did.
0
Comment
Question by:GivenRandy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 350 total points
ID: 17866396
open the enterprise Manager
edit the instance properties
go to the memory tab

reduce the max memory setting from the full ram available to let's say 200 MB on your XP Pro.
close the form.

0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17866408
>Why would it do that?
as by the default configuration, every RDBMS will take as much memory as possible, because that's the main point of keeping best performance.
ususally, you should only have a single server application installed...
0
 
LVL 3

Assisted Solution

by:sanjaykp
sanjaykp earned 150 total points
ID: 17866438
Sql Server will grab as much memory as it can off the OS since it tries to load as many db's as it can into memory. (Reading memory is quicker than reading disks). If your server does not have enough memory, you can allocate SQL Server to use only a certain amount of memory. Go to EE, right click on your instance and open properties. In the memory tab you can dynamically configure the max memory you want SQl Server to use. As soon as you reduce the memory, SQL Server will give back it's memory to the OS.

When you logged out, the SQL instance was still in memory. When you restarted it, the SQLServer.exe process was released from memory and reloaded into memory.

Hope that helps.

Cheers
0

Featured Post

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question