Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SBS Monitoring and SQL not freeing up memory

Posted on 2009-04-03
3
Medium Priority
?
614 Views
Last Modified: 2012-05-06
Hi,

It's not a major problem, but I've noticed recently, that each day, the SBS Monitoring database instance on SQL Express 2005 seems to use more and more memory and won't free it up. After about 3 days, the process is up to 1.7gb and affects the performance of the server and I have to kill the running process to free up the memory. It then begins again...

Is this to do with the daily reports generated from the SBS on performance and health? Is there anything i can do to get it to release the memory without me having to kill the process manually?

Thanks

Paul
0
Comment
Question by:the1paulcole
3 Comments
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 1000 total points
ID: 24073533
You can set a parameter in SQL to limit the maximum amount of memory that it uses.
You can do this from the command line using SQLCMD or using a GUI tool.
The GUI tool is called SQL Server Management Express (its a free downlaod from Microsoft)
Once you have downloaded and installed SSMSE, right click on the server, go to properties, go to the memory tab and reduce the memory to, say, 1024. You might want to revise this until you get the performance you want.
 
A nicer way than killing the process is just restart the service. But anyway this max memory setting should stop it peaking out.

SQLServerMemory.jpg
0
 
LVL 1

Author Closing Comment

by:the1paulcole
ID: 31566277
Thanks for this. One of the most informative responses I've had on this site to date.
0
 

Expert Comment

by:fi3c
ID: 25142522
I had the same problem with our server.  This solution works and keeps the memory down to whatever level you set it at.  Score of 10 imo.  Thanks
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

824 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