Avatar of introlux
introlux
Flag for United Kingdom of Great Britain and Northern Ireland asked on

SQL Server 2008 R2 - Memory Usage High

Hi,

I would like to know how I can look into the memory usage of SQLSERVR.EXE.

It is consuming high memory of the server. I have checked the activity monitor, checked what the max set server mem was on sql (which is 2GB).

Is there another way to find out if its an individual process hogging up the memory? Checking a PID or something.

Any help will be appreciated.

Regards,

introlux
Microsoft SQL Server 2008Windows Server 2008

Avatar of undefined
Last Comment
introlux

8/22/2022 - Mon
Jared_S

I think that

exec sp_who2;

will show you exactly what you're looking for. It will display the SPIDs, users, host, db, cpu time, disk IO (and more).

Kill <SPID#>;

will end any non-system process that needs killing.
introlux

ASKER
How will i determine what process is using the most cpu? is it the cpu time?

There is an awful amount of process in sleeping status and awaiting command.

Please advise.

Thanks again!

introlux
introlux

ASKER
Resource Monitor seems to be using 15272, is this normal? Log Writer 76097, CHECKPOINT 326775 with DiskIO 426318

Any idea?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
SOLUTION
TempDBA

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Jared_S

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Anthony Perkins

It is consuming high memory of the server
Why is this a problem?  Is SQL Server having to share the server with other applications?
introlux

ASKER
Thanks