Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SBS Monitoring and SQL not freeing up memory

Posted on 2009-04-03
3
Medium Priority
?
612 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

705 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