Solved

Excessive memory usage

Posted on 2014-03-05
8
627 Views
Last Modified: 2014-03-24
Hi

I have a server that is running close to 14gb memory all the time. if you look in task manager you see nothing (memory allocation) , the machine also responds extremely slow.

The Server got Windows 2008R2 sp1 , SQL 2008R2 installed , Cognos 10 (bi)

The Server Specs (esxi 5.1) : 18gb ram , 8 virtual cpu's (vm specs)

Where does all the memory go to ?

Windows Task Manager (Performance)Windows Task Manager (Processes)SQL Server Properties - MemoryResource MonitorSysinternals
0
Comment
Question by:Zniper
8 Comments
 
LVL 11

Expert Comment

by:Manjunath Sullad
ID: 39906256
As per your taskbar screenshot, I am able to see that There are 2 Java.exe process are running,

Are you running any Java applications, which application is using 2 process -> If its not required you can Kill one or both process.

Check you have enabled On-Acess Antivirus scanning (Generally its not really required), You an schedule scanning weekly once or twice.
0
 
LVL 55

Expert Comment

by:andyalder
ID: 39907091
Doesn't make any sense having the AWE checkbox ticked, that's for 32 bit operating systems and 32 bit SQL, probably just gets ignored though rather than doing anything harmful.

I would agree with the above on killing Java off and getting rid of the virus checking, or at least being very careful to exclude the SQL data from the virus checker.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 39908316
I have a server that is running close to 14gb memory all the time.
That is by design.  SQL Server will use all the memory made available to it and not release it.

the machine also responds extremely slow.
You need to find out if SQL Server is the cause and if so what query or queries are causing the problem and optimize them.
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 20

Expert Comment

by:compdigit44
ID: 39910480
I agree with Anthony Perkins, by default SQL will consume all available memory since it wants to try and keep an much information in RAM as possible for faster response times?

Also you are using two high memory usage apps on one server Cognos and SQL.

Is the slow down better or worse durning certain times of the day?
Is the host the VM running on under any type of memory stress?
Is the VM running on a snapshot?
Is AV running on the AV?
In task manager did you select the check box for view "all" process from users?
0
 
LVL 55

Expert Comment

by:andyalder
ID: 39910727
It will still consume all the RAM even though maximum server memory is set to 6000MB?
0
 
LVL 20

Accepted Solution

by:
compdigit44 earned 500 total points
ID: 39911087
I personally have never used the min & max memory limits in SQL and always have let SQL  govern itself.

With that said I was interested to find out more on this and came across the following article http://technet.microsoft.com/en-us/library/ms180797(v=sql.105).aspx which stats that SQL will not go beyond the max memory but external componot my push the memory beyond the limit... very interesting...

Have you tried to run process explorer?
0
 
LVL 55

Expert Comment

by:andyalder
ID: 39911194
That was what the same article I was reading before I posted, it's only the buffer pool that's limited but that's what will take every last petabyte of RAM you have if you let it and the lazywriter will only give it up reluctantly.

In this case however it looks like Java and the virus checker have eaten the RAM before MS Squeal got a nibble at it.
0
 
LVL 35

Expert Comment

by:David Todd
ID: 39911616
Hi,

If by server responding slowly you are referring to the console or other RDP session - its a server not a workstation.

If on the other hand you are referring to how well it is running queries then it could be the query.

On the other hand, several lines down is a svchost process that has an order of magnitude more io reads than anything else. Any chance of finding what this belongs to?

HTH
  David
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
monitoring configuration for SQL server DB 32 45
SQL - Curser to do an insert based on a select 2 24
SQL QUERY 3 33
Server Power 6 22
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

679 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