Server 2008 R2 Memory Usage
We have 10 Server 2008 R2 servers all exhibiting the same behaviour.
The servers run at almost 100% memory utilization. Only one has had SP1 installed, which I did this morning and after about 1 hour, the memory is maxed out. The server initially had 14GB memory, but after installing SP1 and seeing more of the
same, I decided to try installing more RAM. I put in another 8GB, and while it takes a little longer to bottom out, it still bottoms out. Perfmon is showing less than 100MB of available memory, and, as expected, performance is not good.
These servers are strictly file servers. We work with images of hard drives. They are split into 2GB chunks. An easy way to replicate the issue is to load a hard drive image and do a re-acquisition. We do this sometimes as a drive
may be acquired in the field without compression, and we will re-acquire it with compression. Once this process is started, in about 1 hour, I have about 100MB free memory.
Using RamMap, Mapped File is using 21GB of memory. When I look at the file summary, the server is caching the 2GB image files and not letting go of them in a timely manner. I am the _only_ person accessing this server, it just gets worse
when more are.
As noted above, performance is terrible, is this supposed to be normal?
Server is an IBM x3550 M2 with dual quad-core CPU, 22GB RAM, OS is on a RAID 1 mirror of two 76GB 15K SAS drives, and the server has two 14TB arrays attached. OS is Windows Server 2008 R2 SP1. Only the File Server Role is installed.
Thanks,
Brian
Hi,
I would like to confirm that do you have Exchange Server installed on the servers?
If you do have Exchange Server installed, this behavior is normal. Exchange store.exe grabs as much RAM on the server as it can possibly get because
store.exe needs it to optimize performance. For more information, please refer to the following Microsoft TechNet blogs:
Why is Exchange Store.exe so RAM hungry?
http://blogs.technet.com/b/exchange/archive/2004/08/02/206012.aspx
Understanding Exchange 2007 Memory Usage and its use of the Paging File
http://blogs.technet.com/b/exchange/archive/2008/08/06/3406010.aspx
If you do not have Exchange Server installed, please check Task Manager and let us know what application uses the large size of memory. In addition,
you may run Process Explorer to monitor the memory usage. You may download and install it from the following link:
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
After that, please let us know the suspect.
Regards,
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Similar Messages
-
SVCHost NetSVCS On Windows Server 2008 Standard memory leak with windows update
I have a particular situation that has surfaced lately. I have a series of Windows Server 2008 Standard. I have applications that use WMI to do application interfacing. For years this has been running fine until recenly in the last month
I have seen memory being swallowed by the process SVCHost Netsvcs. I have done significant research into this. The problem appears almost like clock work on a daily basis. I have traced this to windows update which seems to kick off, it is
also using WMI, it starts and seems to get lost then netsvcs starts running off until all memory is consumed and the svchost process eventually fails. At that point I can get back into the system to view it. If I catch it in time I can simply stop windows
update but sometimes I have to take the drastic and unsafe measure to kill that particular svchost process.
There are a lot of threads regarding SVCHost and nothing comes remotely close to this issue as far as I can see.
I have allready ensured that windows update is up to date.
At present I am forced to ensure that windows update is disabled. I then have to manually shut down the other services that are using WMI to do an update. This means down time for my applications realtime updates.Hi,
does this issue occur on a single server or multiple servers? And is it server 2008 or 2008 R2? (if 2008R2 there is a
hotfix
available which would seem a good fit for your current issue).
If you find the answer of assistance please "Vote as Helpful"and/or "Mark as Answer" where applicable. This helps others to find solutions for there issues, and recognises contributions made to the community :) -
Crystal Report Server 2008 V1: Memory hog?
Hi,
We installed Crystal Report Server 2008 V1 on a Windows 2003 Server that has 4GB of memory. I noticed that once CRS started, lot of memory are used. We have only two active reports on the report server. This is no other application installed on the windows server. Ultimately, it will reach to a point where 3.6 GB of memory and 3.0 GB of page file is used (according to the performance window). The system won't return the memory even I stop the Server Intelligent Agent service. Is that normal? Does CRS cause memory leak?It is 32bit but runs on 64bit (eg. Windows) also as long as the required 32bit libraries are available on the machine.
Regards,
Stratos -
Application Server Control 10g : Memory usage wrong
Hi,
We have install an OAS 10g on Windows Server 2003 with 8Gb RAM. But on the Application server Control, only 2 Gb are display in memory usage (Application server 372 Mb+Free 1675 Mo).
How configure Application Server to see all memory available ?
Thanks32bit Windows have 4GB address space, which is split 2Gb system and 2Gb user. So user processes have 2Gb virtual address space (even if hw has more RAM).
Perhaps "App Server Control" mem stats system is limited by this concept. And maybe the app server is threaded?
Is it 32bit or 64bit hardware and OS? -
SQL Server 2008 R2 Disk Usage report showing incorrect data file
When I go to ANY database (System, AdventureWorks*, user) in Managemant Studio, I right-click on the db, select Reports, select Standard Reports, and select Disk Usage. The disk usage report shows the correct db on top, but always only shows AdventureWorks_Data.mdf
when I expand Disk Space Used by Data Files section. This happens to any db I try. When I look at Database Properties/Files for that database, the logical and physical file names are correct.
Since the correct files appear in Database Properties/Files, I'm hoping it's just a bug in the report. Same thing happens if I run a Disk Usage by Table report for ANY database, The tables for AdventureWorks always only appear,
Thanks, MikeThanks Tibor!
I looked at the Properties for my login under Security/Logins and it shows my default db to be master. Not sure if this is correct, but it sounds plausible. I'll see if I can report the problem.
The only issue I can think of that was out of the ordinary for the install of 2008 R2 EE was this:
I originally installed 2005 DE, since it wouldn't expire. After the install of 2005 DE, I decided to uninstall it and install 2008 R2 EE. In between the installs of 2005 DE and 2008 R2 EE, I installed/uninstalled stupid stuff like 2008
Express, 2008 Express with Advanced Services (?), and 2008 EE. After each uninstall I also did a system restore to be safe.
Now each time I open Management Studio, i get a pop-up stating that there are SQL Server 2005 registered servers on my sytem and asks me if I want to add them into Management Studio. I always say no.
The AdventureWorks db is from 2005 and was installed automatically with 2005. I installed the 2005, 2008, and 2008 R2 AdventureWorks databases to my R2 for class. I'm not sure now if the Disk Usage report is showing me AdventureWorks_Data.mdf
because of my install into 2008 R2 EE or my previous install of 2005 DE.
Hope this kind of makes sense...
-Mike -
SQL 2012 Memory usage analysis
We have this clustered SQL Server, win 2008 R2 + SQL 2012 Standard SP2,
Server RAM is 64GB, maximum memory is set at 50GB, and minimum memory is set at 10GB.
When I check memory usage, it seems
CLR takes more memory than Buffer Pool, is it normal? Or does it show memory allocation issue? Thanks a lot!
The "total server memory" and "target server memory" performance counters are both 50GB.
Please kindly see below screen shots below:Hi Vivian,
I would assume you are asking question related to SQL Server 2012 memory the whole discussion would change if it is SQL Server 2008 r2 memory
You are not drawing correct information from first query.
CLR has Reserved 6 G but ONLY committed 12 MB. And that too you are looking at virtual memory which is 6TB for SQL Server process so of course CLR can reserve there is actually no issue with it. A committed memory is actually what SQL Server is using
reserved in simple language is what SQL Server thinks it might need in near future.
As you said Target and total memory are same its good.
For both 2012 and 2008 r2 below query will give total memory utilization by SQL Server instance
select
(physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
(locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
(total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
process_physical_memory_low,
process_virtual_memory_low
from sys. dm_os_process_memory
If you want to see Breakdown of memory utilized by various clerks in 2008 r2
select
type,
(SUM(single_pages_kb)/1024) Single_page_allocator_memory,
(SUM(multi_pages_kb)/1024) multi_page_allocator_memory,
(sum(awe_allocated_kb)/1024) [AWE API memory]
from sys.dm_os_memory_clerks
group by type
order by Single_page_allocator_memory desc
For 2012
select type,
(SUM(pages_kb)/1024) as Memory_Utilized
(sum(awe_allocated_kb)/1024) as Memory Allocated by AWE API
from
sys.dm_os_memory_clerks
group by type
order by Memory_Utilized desc
Starting from 2012 Max server memory controls much more than buffer pool
Max server memory controls SQL Server memory allocation, including the buffer pool, compile memory, all caches, qe memory grants, lock manager memory, and CLR memory (basically any “clerk” as found in dm_os_memory_clerks). Memory for thread stacks, heaps,
linked server providers other than SQL Server, or any memory allocated by a “non SQL Server” DLL is not controlled by max server memory
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Windows server 2008 r2 virtual machine uses much less memory then it has assigned
Guys,
I had a virtual machine with windows 2008 r2 operating system, running sharepoint, on a server where it had 6gb RAM memory assigned.
Now I bought a new server, which has 32 gb of ram. I moved my virtual machine there, and assigned 24gb of RAM.
But after I started VM, in Windows Task Manager I see that system uses only about 6.5 GB of RAM assigned. That is not even close to 24gb, which it has available.
Is there any power shell script or anything else available to increase virtual machine memory usage?
Thank you.Hi,
I found a KB similar described with your issue- the Hyper-V host cannot allocate more memory to the virtual machine because there is not enough free disk space to extend the
memory contents file, more detail symptoms please refer the following KB:
Dynamic Memory allocation in a Virtual Machine does not change although there is available memory on the host
http://support.microsoft.com/kb/2504962/en-us
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
What is the best way to deal with memory leak issue in sql server 2008 R2
What is the best way to deal with memory leak issue in sql server 2008 R2.
What is the best way to deal with memory leak issue in sql server 2008 R2.
I have heard of memory leak in OS that too because of some external application or rouge drivers SQL server 2008 R2 if patched to latest SP and CU ( may be if required) does not leaks memory.
Are you in opinion that since SQL is taking lot of memory and then not releasing it is a memory leak.If so this is not a memory leak but default behavior .You need to set proper value for max server memory in sp_configure to limit buffer pool usage.However
sql can take more memory from outside buffer pool if linked server ,CLR,extended stored procs XML are heavily utilized
Any specific issue you are facing
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Task manager on windows server 2008 doesn't show the memory from newly installed 2nd CPU
Hi,
We have a dual processor dell power edge t410 running windows server 2008 (64-bit), standard edition. I have recently added a 2nd xeon x5560 quad-core processor (first one is also x5560 with 32GB (4x8) memory) and 16GB ram (4x4). Seems like the new CPU is
recognized in BIOS, Dell's server admin app and task manager shows 16 vertical boxes (hyper threading is on both cpus) under Performance->CPU Usage History and these boxes show processor load spread relatively evenly across all threads. On the other hand
the additional memory for this CPU is visible in the BIOS, Dell server admin but not in the task manager, which still shows the 32gb under performance->physical memory. Rammap also shows only 32GB.. Currently running proprietary processes that along with
the metafile and windows own ring up nearly 30GB, which in turn causes system latency for GUI and apps, as if the additional 16GB are not there...
So the questions are these:
1) does anybody know why the added memory doesn't show up in the task manager / rammap?
2) if the new memory doesn't show up, does this mean that Windows does not use it (which should be impossible if the CPU is utilized, unless I am wrong about windows using the cpu..)?
Thank you,
- KirilThanks for the reply Ravikumar,
Unfortunately this solution is inapplicable to my version of the OS as it is 64-bit and not 32-bit. Do you have any other ideas?
Best,
- Kiril
Yes, PAE((Physical Address Extension) is supported only on 32-bit versions of the
Windows, operating system 64-bit versions of Windows do not support PAE. For information about device driver and system requirements for 64-bit versions of Windows, see
64-bit System Design. The Address Windowing Extension (AWE) API is supported on 32-bit systems. It is also supported on x64 systems for both native and Wow64 applications.
Useful link for Address Windowing Extensions is:http://msdn.microsoft.com/en-us/library/windows/desktop/aa366527(v=vs.85).aspx
If the above info does not help you, please contact dell as suggested by
Shaon Shan.
Regards, Ravikumar P -
SQL Server Memory usage is high
Hello,
One of our production SQL cluster is eating up more memory on server.
Here are the server specifications :
OS : Windows 2008 R2 Enterprise
SQL : SQL Server 2008 SP2 standard edition ( 2 node cluster )
Memory : 16 GB ( 8 Gb to SQL and rest to OS )
CPU : 8
This server is heavily used by CLR and linked server events.
I have seen the memory usage of databases , it's not using more than 7 GB and leaving 1 GB free in sql memory area ( from our Idera SQL dm
monitoring tool ). I'm suspecting CLR events are causing these spikes.
When i look at the task manager sqlserver.exe is using 15.7 Gb ( close to 16 GB )
Not sure how to see which process are using the memory.
Also we are seeing the below error messages in error log very frequently
10/27/2014 15:23:52,spid1s,Unknown,AppDomain 85 (xxxxxx) is marked for unload due to memory pressure.
I have looked at some blogs in internet, i didnt get any correct info. I have seen this is kind of bug in SQL 2005 32-bit system but we are
using 64 bit system.
http://support.microsoft.com/kb/969962
Can anyone please help me on this ?
Thanks in advanceContinuation of DBCC memorystatus output
CACHESTORE_TEMPTABLES (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 40
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_NOTIF (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 16
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_VIEWDEFINITIONS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 16
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_XMLDBTYPE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_XMLDBELEMENT (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_XMLDBATTRIBUTE (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_STACKFRAMES (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 0
MultiPage Allocator 8
(7 row(s) affected)
CACHESTORE_STACKFRAMES (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 0
MultiPage Allocator 8
(7 row(s) affected)
CACHESTORE_STACKFRAMES (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 0
MultiPage Allocator 16
(7 row(s) affected)
CACHESTORE_BROKERTBLACS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 48
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_BROKERKEK (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_BROKERDSH (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_BROKERUSERCERTLOOKUP (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_BROKERRSB (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_BROKERREADONLY (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 32
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_BROKERTO (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_EVENTS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 16
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_CLRPROC (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 40
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_SYSTEMROWSET (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 1856
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_CONVPRI (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 48
MultiPage Allocator 0
(7 row(s) affected)
CACHESTORE_FULLTEXTSTOPLIST (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 32
MultiPage Allocator 0
(7 row(s) affected)
USERSTORE_SCHEMAMGR (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 16432
MultiPage Allocator 856
(7 row(s) affected)
USERSTORE_DBMETADATA (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 5592
MultiPage Allocator 0
(7 row(s) affected)
USERSTORE_TOKENPERM (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 3856
MultiPage Allocator 3960
(7 row(s) affected)
USERSTORE_OBJPERM (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 2328
MultiPage Allocator 0
(7 row(s) affected)
USERSTORE_SXC (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 656
MultiPage Allocator 0
(7 row(s) affected)
USERSTORE_SXC (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 8
MultiPage Allocator 0
(7 row(s) affected)
USERSTORE_SXC (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 664
MultiPage Allocator 0
(7 row(s) affected)
OBJECTSTORE_LBSS (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 128
MultiPage Allocator 608
(7 row(s) affected)
OBJECTSTORE_SNI_PACKET (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 2008
MultiPage Allocator 56
(7 row(s) affected)
OBJECTSTORE_SNI_PACKET (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 0
MultiPage Allocator 56
(7 row(s) affected)
OBJECTSTORE_SNI_PACKET (Total) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 2008
MultiPage Allocator 112
(7 row(s) affected)
OBJECTSTORE_SERVICE_BROKER (node 0) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 424
MultiPage Allocator 0
(7 row(s) affected)
OBJECTSTORE_LOCK_MANAGER (node 0) KB
VM Reserved 32768
VM Committed 32768
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 4048
MultiPage Allocator 0
(7 row(s) affected)
OBJECTSTORE_LOCK_MANAGER (node 64) KB
VM Reserved 0
VM Committed 0
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 24
MultiPage Allocator 0
(7 row(s) affected)
OBJECTSTORE_LOCK_MANAGER (Total) KB
VM Reserved 32768
VM Committed 32768
Locked Pages Allocated 0
SM Reserved 0
SM Committed 0
SinglePage Allocator 4072
MultiPage Allocator 0
(7 row(s) affected)
Buffer Pool Value
Committed 1024000
Target 1024000
Database 793462
Dirty 36258
In IO 0
Latched 0
Free 171398
Stolen 59140
Reserved 0
Visible 1024000
Stolen Potential 913660
Limiting Factor 17
Last OOM Factor 0
Last OS Error 0
Page Life Expectancy 262733
(15 row(s) affected)
Process/System Counts Value
Available Physical Memory 69021696
Available Virtual Memory 8762135273472
Available Paging File 12716019712
Working Set 15196917760
Percent of Committed Memory in WS 100
Page Faults 897824874
System physical memory high 0
System physical memory low 0
Process physical memory low 0
Process virtual memory low 0
(10 row(s) affected)
Procedure Cache Value
TotalProcs 4573
TotalPages 53712
InUsePages 27
(3 row(s) affected)
Global Memory Objects Pages
Resource 412
Locks 509
XDES 219
SETLS 8
SE Dataset Allocators 16
SubpDesc Allocators 8
SE SchemaManager 1169
SE Column Metadata Cache 991
SQLCache 893
Replication 2
ServerGlobal 52
XP Global 2
SortTables 3691
(13 row(s) affected)
Query Memory Objects (internal) Value
Grants 0
Waiting 0
Available 756700
Current Max 756700
Future Max 756700
Physical Max 756700
Next Request 0
Waiting For 0
Cost 0
Timeout 0
Wait Time 0
(11 row(s) affected)
Small Query Memory Objects (internal) Value
Grants 0
Waiting 0
Available 12800
Current Max 12800
Future Max 12800
(5 row(s) affected)
Optimization Queue (internal) Value
Overall Memory 6723993600
Target Memory 5965963264
Last Notification 1
Timeout 6
Early Termination Factor 5
(5 row(s) affected)
Small Gateway (internal) Value
Configured Units 32
Available Units 32
Acquires 0
Waiters 0
Threshold Factor 380000
Threshold 380000
(6 row(s) affected)
Medium Gateway (internal) Value
Configured Units 8
Available Units 8
Acquires 0
Waiters 0
Threshold Factor 12
Threshold -1
(6 row(s) affected)
Big Gateway (internal) Value
Configured Units 1
Available Units 1
Acquires 0
Waiters 0
Threshold Factor 8
Threshold -1
(6 row(s) affected)
Memory Pool Manager Pages
Reserved Current 0
Reserved Limit 913664
(2 row(s) affected)
Memory Pool (internal) Pages
Allocations 59136
Predicted 248311
Private Target 0
Private Limit 0
Total Target 972800
Total Limit 972800
OOM Count 0
(7 row(s) affected)
MEMORYBROKER_FOR_CACHE (internal) Pages
Allocations 55358
Rate 0
Target Allocations 779847
Future Allocations 0
Overall 820800
Last Notification 1
(6 row(s) affected)
MEMORYBROKER_FOR_STEAL (internal) Pages
Allocations 3778
Rate 0
Target Allocations 728267
Future Allocations 0
Overall 820800
Last Notification 1
(6 row(s) affected)
MEMORYBROKER_FOR_RESERVE (internal) Pages
Allocations 0
Rate 0
Target Allocations 820800
Future Allocations 189175
Overall 820800
Last Notification 1
(6 row(s) affected)
DBCC execution completed. If DBCC printed error messages, contact your system administrator. -
Max Memory Settings Not Working (SQL Server 2008 R2)
I have 12 GB ram in sql server 2008 R2 of 64 bit server (Windows 2008 R2).
I have set the Max memory setting to 12288 MB Memory setting.
Still the usage of sql server process is around 14 GB.
Is Max memory setting not working?
I have also enabled AWE after all it is 64 bit.
ThanksProblem is that: my OS is halting due to this RAM. I have 16 GB of ram and assigning 12 GB to SQL SERVER and rest is using for OS. Please guide me how to get information about actual memory usage from all sql server processes. like
all CLR etc
Hi,
Are you also running SSIS/SSAS/SSRS with database engine services. What do you mean by OS is halting ?
If you want to check whether SQL Server is facing memory crunch please have a look at perfmon counters from
this link
Sys.dm_OS_memory_clerks would be DMV helpful in tracking memory utilized by various processes
I have also enabled AWE after all it is 64 bit. Thanks
Please note AWE doe snot have any notable affect in 64 bit system.
Below will tell you memory used by SQLCLR
select single_pages_kb + multi_pages_kb + virtual_memory_committed_kb from sys.dm_os_memory_clerks where type = 'MEMORYCLERK_SQLCLR'
Below query will give you memory consumed by various clerk
SELECT type, SUM(multi_pages_kb)
FROM sys.dm_os_memory_clerks
WHERE multi_pages_kb <> 0
GROUP BY type
ORDER BY SUM(multi_pages_kb) DESC
Can you reduce max server memory to 11 G and see if it gives some relief
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Windows Server 2008 R2 - When svchost.exe memory-leaks Outlook does not load properly
Hi all,
We have a server which runs Windows Server 2008 R2, fully updated, and acts as a Terminal Server (Citrix XenApp 6.5).
In the past couple months we have had problems with svchost.exe leaking memory, growing to 2-3GB of RAM usage. Sometimes is occurs with weeks between the incidents, sometimes days. To solve the issue we have to reboot the server.
When this occurs, Outlook (fully updated) doesn't start for any users at all. Outlook doesn't continue from the "Loading profile.."-stage. The users who already has Outlook started doesn't have any problems, unless they close Outlook ;) .
The svchost.exe is the one which runs the services:
NSI
WinHttpAutoProxySvc
W32Time
Netprofm
FontCache
EventSystem
We've patched the server with KB2847346 but with no result. Patch KB2950358 is not applicable..
Any ideas?svchost is hosting multiple services. when the issue occurs you can use sysinternals procmon (or enable the command line column in task manager process tab) to view to determine which service is using that much memory.
MCP/MCSA/MCTS/MCITP
Did you read my whole post, or did you just misunderstand the part were I wrote:
The svchost.exe is the one which runs the services:
NSI
WinHttpAutoProxySvc
W32Time
Netprofm
FontCache
EventSystem"
I know that svchost.exe runs ALOT of services, so when the problem occurred I checked which services the specific svchost.exe runs. Everytime it happens the svchost.exe (which leaks and has 2-3GB mem usage) runs this specific services. -
I have the following:-
VMWare workstation version 9 , with windows server 2008 R2 data center installed.
- I have installed the windows 2008 R2 inside the VM using an iso image.
- The host is windows 7.
I use to work well with the VM, but after adding a new VM to the same workstation . I start getting the following error when starting my old VM
ramdisk device creation failed sue to insufficient memory.
And on the windows boot manger screen they mentioned to :-
inset my windows installation dis and restart my PC.
click “repair your computer”
but not sure if this will fix the problem , baring in mind that the RAM assigned to the VM
is 24 GB & 80 GB hard disk.
The error is
Link.
so can any one advice what is causing this error?
ThanksYou might start by checking the RAM.
http://windows.microsoft.com/en-US/windows7/Diagnosing-memory-problems-on-your-computer
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Server 2008 R2 - Metafile Cache Memory Consumption...
This question is related to posting
http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/7b49424d-08c1-4fc4-bc9a-3569ab978efe, the final comment in the thread reading:
"I ended up opening a ticket with Microsoft. It was indeed the exact same problem as people were having with Server 2008, which Microsoft was kind enough to provide a publicly available fix, but, for unknown reasons, have not provided for Server 2008
R2. They provided me with the DynCache fix, which allowed me to set a limit on how much memory was used.
Problem solved!
They even ended up charging me $100 for the fix, despite the fact that if the issue is Microsoft's, there is supposed to be no charge. I was going to dispute it but it got lost in the shuffle.
So, open a ticket with MS and they should provide you with DynCache, just don't let them charge you for it. Releasing a product then charging extra to make it work correctly is called a racket in my business...
Hope that helps"
I'm having the exact same issue with one of our production servers. I done the troubleshooting and I know that this is the problem. The simple question is, can I obtain dyncache for 2008 R2 without going to the trouble of opening a ticket, handing over my
credit card information and then arguing about whatever it is that they want to charge me.
Thanks in advance!
Lou Laczo, IT Manager, Conterra LLCWord up folks.
I have had success using SetSystemFileCacheSize to tame 2008 R2 memory management.
-Copy SetSystemFileCacheSize.exe & EmptyStandbyList.exe to C:\Windows\System32\
-Create simple batch file to execute SetSystemFileCacheSize.exe flush & EmptyStandbyList.exe
-Create a Task to run the batch file as often as needed.
For our environment, running this Task once a day after our nightly backup routines is sufficient.
Hell, I suppose I could add these lines to the end of my backup scripts. Hmmm... Will have to test this. -
SQL SERVER PHYSICAL MEMORY USAGE HIGH
HI Teams,
i am going threw one of my production high physical memory usage in SQL Server. It always
around 90%.When i reboot the server, it will initially good but end of the day it will around 95 to 98% physical memory usage.
please give the valid solutions..,
Regards,
DBAThis is an expected/normal behaviour in SQL Server box. Memory management is highly dynamic in SQL Server and will use the complete memory allocated to SQL Server. It is also important to set the MAX SERVER MEMORY for the SQL Server instance. You may not
need to worry about this unless you find any performance issues.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
[Blog]
Maybe you are looking for
-
Our contractor has created courses in Captivate 6. I can open them in Captivate 7, however, when I preview the course, none of the buttons work. Also, I can publish the course and create a zip file, but when I upload the zip file to our LMS (Corner
-
Wrong calculation for condition type for misc. provision in service PO
Hi Gurus, In service PO line item, we have maintained customised condition type for misc provision. this is % based on net price. It has been assigned account key and accrual key. It's manual. Logically, it should calculate the value based on the tot
-
I need to read Pages files but I can't install Pages on osx 10.6
I need to read Pages files, but I can't install Pages because I have OSX 10.6. Is there some version that will work?
-
Officejet Pro 8600 wireless print option with Mac OSX Snow Leopard?
Hi My 'old' 8600 printer died and I purchased a new one. I did not set up wireless communication with the old printer but am interested in doing so with this new one, or at least having that option. I'm running Mac OS X 10.6.8 Snow Leopard. The inst
-
I have an Acer external hard drive 500GB. Is it compatible with Apple MacBook Pro laptop?