• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 544
  • Last Modified:

sql server 2008 r2 memory leak

we are running software that utilities sql server 2008, this software seems to run horribly
with 8 workstations using windows 7 this software hangs frequently when making calls to the sql server. sometimes windows even states it is unresponsive.
we checked the indexes on each table and some of the more frequently used tables had indexes of 90% fragmentation and up,
obviously we have been staying on top defraging of that but with 80 databases and 25 tables per database it takes some time.
we have also noticed that over time more errors / lag starts occurring,
and in monitoring the server in a couple weeks the ram usage of sqlserver.exe has climbed from a gig to 7gigs.
is it possible that the service installed on the server by our software vendor is causing a memory leak in sqlserver.exe

What other things could be leading to the issues we are having?

please note: the software vendor installs our software andthe sql server instance,
  • 2
3 Solutions
Brian CroweDatabase AdministratorCommented:
You may not have a memory leak at all.  SQL Server is a resource hog and doesn't play well with others.  It will grab all but a few MB of memory over time and does not release it whether it is actively utilizing all that memory currently or not.  You can limit the maximum amount of memory an instance will use through the options dialog.


Try this as a first step
You always want to set your max memory  on SQL to total machine memory minus about 2GB for the OS. Like BriCrowe said above you do not want to have to many other applications on the same server as your SQL. SQL Server should have it's own box.
Use your perfmon counters to check page life expentance(should be about 180 seconds or above) This will tell you if something is pushing query plans out of memory.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now