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,
DBA 

This 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]

Similar Messages

  • SQL Server 2012- Memory Leak Issue

    Team,
    We are running a Mission Critical Application on SQL Server 2012 SP2(11.0.5058) which is configured on Always ON Synchronous mode. Offlate due to heavy development work, Application team have come up with stating memory issues. I have analysed all the areas
    and everything looks normal. Please suggest if we have to patch the latest CU4 for SQL Server 2012 SP2. 
    The checks were performed on the below areas:
    - Errorlog, System Logs - No errors reported.
    - There are close to 8 Databases hosted on the instances which are all configured for AlwaysON. SQL Server is running on VM Infrastructure and the total physical memory allocated is 96GB out of which SQL is capped for 92GB. 
    -The Page Life Expectancy is healthy and is showing a greater number. There are no Signal waits either or pending memory grants. 
    - The writes are more than reads for one of the databases which is flagged with application team. There are no blockings & Deadlocks.
    Please suggest me the future course of action and your inputs are much appreciated.
    Best Regards,
    Sharath 

    Actual issue is- Application team have reported a memory leak and their builds have significantly slowed down. They suspect that its Database memory leak. However I have verified from database end and gave the above inputs. 
    The AOAGs are good. I was looking for any pointers whether there are any bugs which is related to memory leaks in SQL Server 2012.  I know all of them are addressed with SQL Server 2012 SP2. 
    Application team has NO idea about SQL Server do they ? And to say SQL Server has memory leak you have to actually prove it did they showed any proof. Its common for application team to say SQL Server is leaking memory because they are unaware about fact
    by default SQL Server would take as much memory as possible and would release when SQLOS asks it to do so. This might give sign that it is leaking memory BUT IT IS NOT.
    As you already said AOAG is working fine so I am presuming there is nothing much to worry. To monitor memory usage in SQL Server 2012 you can use below counters
    SQL Server: Memory Manager-- Target Server Memory (KB)
    SQL Server: Memory Manager--Total Server Memory (KB)
    SQL Server: Memory Manager- Free Memory (KB)
    SQL Server: Memory Manager--Database Cache Memory (KB)
    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

  • Is it normal when physical Memory running high all time ?

    Dear Expert
    We have server production running apex application.
    Data & Fact
    OS : windows server 2008 R2 standard (64 bit)
    intel xeon
    RAM : 4 GB
    installed product:
    DB : Oracle 11g R2
    APEX : APEX 4.1
    listener : OHS
    on resource monitor
    Used Physical Memory running high all time (80 %).
    is it normal?
    Regard
    Lutfi Hedir

    Lutfi.Hedir wrote:
    Hi Earl thanks for respond
    My curiosity is why used memory high all time for 24 hour not on peak hour only?, when i stop db console service it drop litle bit :D.
    My suspicion is that Oracle is grabbing as much memory as it can on startup and it's simply holding on to it. Memory usage is generally not going to go down from some baseline once an application has been started. It's not like the CPU utilization, which can fluctuate quite a bit for any one application. Memory usage will likely increase if you run some memory intensive operations, but doubtful that you will ever see it go down much.
    Earl

  • SQL Server 2005 Memory Explosions

    We have the following configuration:
    ESXi 5.1.0 running on three clustered Dell 710 servers
    vCenter Server 5.1.0
    The clustered servers have a total of 88G of RAM
    SQL Server 2005 x86 running on a virtual Server 2008 R2 x64. All databases run fine for several days with memory usage seeming at ~25%. Suddenly, the memory consumption
    shoots up to ~98% and we have to reboot the server. This is based on information from the task manager and the measurements in vSphere Client. I understand that the task manager is not an accurate measurement when AWE is active but that’s the best I’ve got
    at the moment.
    Here's what we've done thus far:
    Looked through the logs on the SQL Server and found the following:
    In the System log, Resource-Exhaustion-Detected appeared at the same time but the highest memory consumption was services.exe at 125MB. Doesn’t seem to be the culprit.
    In the Applications log, started getting MSSQLSERVER errors indicating ‘The Server was unable to load the SSL provider needed to login.’ These errors persisted through the downtime.
    In the SQL Server Log File Viewer, we see the following errors, though I’m not sure that they are at all related:
    A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 0 seconds. Working set (KB): 4464, committed (KB)
    66976, memory utilization: 6%
    (About 4.5 hours later) Warning: the available page file has dropped below 4Mb. It is at this point – seemingly – that the memory usage has jumped up to near 100%.
    The virtual server has 8G of RAM allocated. However, within the vSphere Client, the Memory Granted and the Memory Consumed seem to be at the same value…meaning that
    the consumed value seems to be at 100% under normal operating conditions. Not sure why that is.
    If anyone has any recommendations or areas to look, we would certainly appreciate your assistance! Thanks in advance.
    Tony

    I thank you guys so much for the rapid response! Please forgive the delayed response. All of this is on a DoD network and I cannot post to blogs on government machines. I have to go to a private
    machine. Below is the information you asked for:
    The Max Server Memory is 5.0GB and the Min Server Memory is 0.0GB
    I have PerfMon currently running to try and capture as much information as possible.
    We are getting a few other errors in the SQL Log that has given me some concern:
    Failed Virtual Allocation Bytes: FAIL_VIRTUAL_RESERVE 65536
    Memory Manager  VM Reserverd = 3673288 KB  VM Committed = 55688 KB AWE Allocated = 0 KB  Reserved Memory = 1024
    KB  Reserved Memory In Use = 0 KB
    There is also a series of MEMORYCLERK and CACHESTORE errors following
    The Server was unable to load the SSL provider needed to login. SSL is used…
    o   
    I presume that this is due to the lack of memory to process these SSL request.
    There are indeed several Error: 701, Severity: 17, State: 123
    Below is the system information from SQL Server 2005:
    Microsoft SQL Server Management Studio                   9.00.5324.00
    Microsoft Analysis Services Client Tools                       2005.090.5324.00
    Microsoft Data Access Components (MDAC)                6.1.7601.17514 (win7sp1_rtm.101119-1850)
    Microsoft MSXML                                             
                3.0 6.0
    Microsoft Internet Explorer                                         
    8.0.7601.17514
    Microsoft .NET Framework                                          
    2.0.50727.5477
    Operating System                                           
                6.1.7601
    I run a query SELECT SERVERPROPERTY(‘edition’); and it shows ‘Standard Edition’ rather than ‘Standard Edition (64-bit).’
    We are using Windows Server 2008 R2. I don’t believe that there was an x86 version released but I could be wrong.
    I’ve actually looked at enabling the LPIM but we are on a domain that we have no control over and there are GPOs that make it very difficult if not impossible to gpedit but that is something
    we can certainly look into with the domain owners if you think it might help.
    I just ran the following script in SQL:
    Exec sp_configure ‘AWE’
    The response is  name – awe enabled, minimum – 0, maximum – 1, config_value – 0, run_value – 0
    There is no third party software on this server.
    The Max Server Memory is set to 5GM
    Again, I do appreciate all of your help. Please let me know if I can provide anything further.
    Tony

  • SQL server 2012 service consume high memory

    Hi,
    I have sql 2012 SP1 installed on my windows server 2012. Have 128 GB ram installed on server.
    Now sql server consuming 111GB of ram. Memory set in sql is 120 GB.
    No page file set for server.
    How to manage sql not to consume to much of ram.
    Please suggest as system getting to much slow.
    Thanks in Advance
    Anuj Gupta

    Hi,
    I have sql 2012 SP1 installed on my windows server 2012. Have 128 GB ram installed on server.
    Now sql server consuming 111GB of ram. Memory set in sql is 120 GB.
    No page file set for server.
    How to manage sql not to consume to much of ram.
    Please suggest as system getting to much slow.
    Thanks in Advance
    Anuj Gupta
    Rest assured buddy this is not an issue and best part is if OS faces memory crunch anyhow SQL Server will release memory it has taken,will trim down its consumption .So its totally normal behaviour.If you really want to decrease memory consumption set lower
    valur for MAX SERVER MEMORY.But will not advise you to do so as it will flush out cache and other plans.
    You should set a page file almost double the RAM you have I guess that is the value they recommned.
    Sometimes if you have big databse ( 500 G -1 TB)and lots of pages are read memory utilization rises to keep this pages in Buffer cache and it seems SQL Server is utilizing more mmeory but it is doing for your own good to make query faster .Any read/write
    would be satisfied from memory instead of bringing data from disk which is costly
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Run the SSIS Package using sql server Agent--Memory utilization Problem

    Hi,
    I have Created one SSIS Package it was working fine in BIDS but in SQL Server Agent it takes all the server memory and server gets very slow now.
    in that ssis package i am using merge join,sorting tasks.Can you please suggest me how to handle in the memory usage for this..pls refer the below screen

    Hi aravindhrm,
    You can enable BufferSizeTuning logging event on the Data Flow Task to get how many rows in buffer. Or you can use Performance Counter to obtain more details about the buffers.
    http://microsoft-ssis.blogspot.com/2013/04/performance-best-practice-more-rows-per.html 
    http://www.sql-server-performance.com/2009/ssis-an-inside-view-part-3/ 
    Then, you can tweak the DefaultBufferMaxRows and DefaultBufferMaxSize size settings.
    Besides, you can also go through the blog mentioned by Visakh and try suggestions such as increase OS pagefile size.
    Regards,
    Mike Yin
    TechNet Community Support

  • Attributes For SQL Server Physical Models Aren't Saved

    In version 3.0.0.665, a physical implementation implementation of data model was persisted to SQL Server 2005. The physical implementation required the use of IDENTITIES; the equivalence to an Oracle sequence.
    The functionality works fine because the DDL generated correctly and the script was persisted to the target database without incidence. Both the physical model and DMD were saved. After deployment, the client required the addition of several attributes into the model. Since the model hadn't populated yet, the desired approach involved dropping the SQL SERVER database (Oracle Schema), applying the changes to the data model, generating the DDL, and creating the SQL SERVER database.
    Upon inspection of the generated DDL, the IDENTITY directives were absence. Further research discovered the attributes were absence from the property sheets attached to the various physical tables. Further testing uncovered that these attributes only persist throughout the lifetime of the data modeling session.
    I have not had this experience with Oracle physical models e.g.(creating trigger, sequences, etc). Most likely this is a defect in the software, but I was curious to know, if anyone else as run across this opportunity.
    Warm regards,
    Greg

    In version 3.0.0.665, a physical implementation implementation of data model was persisted to SQL Server 2005. The physical implementation required the use of IDENTITIES; the equivalence to an Oracle sequence.
    The functionality works fine because the DDL generated correctly and the script was persisted to the target database without incidence. Both the physical model and DMD were saved. After deployment, the client required the addition of several attributes into the model. Since the model hadn't populated yet, the desired approach involved dropping the SQL SERVER database (Oracle Schema), applying the changes to the data model, generating the DDL, and creating the SQL SERVER database.
    Upon inspection of the generated DDL, the IDENTITY directives were absence. Further research discovered the attributes were absence from the property sheets attached to the various physical tables. Further testing uncovered that these attributes only persist throughout the lifetime of the data modeling session.
    I have not had this experience with Oracle physical models e.g.(creating trigger, sequences, etc). Most likely this is a defect in the software, but I was curious to know, if anyone else as run across this opportunity.
    Warm regards,
    Greg

  • Oracle and Sql Server Physical Schema

    Hi Forumer,
    I am new to the ODI, and trying to use it for few of the POCs.
    I know that the ODI supports mulitple types of technologies like Oracle, MS SQL Server, etc. quite well.
    My requirements are something like this:
    I have two same application database instances, one is on Oracle and the other is on the MS SQL Server. If I have a table say XYZ in Oracle, I have the same table the MS SQL Server also (Same structure column names, data domain, etc.). In other words both of them logically the same.
    I have a third instance of Oracle acting as the target for both of the above mentioned sources.
    Is it possible to have the target populated from these instances using only one interface? (Since logically they mean the same and the interface design would be also the same).
    So what I want to achieve is essentially like this:
    Say if I run the Interface in context 1 then the interface would populate the data into the target Oracle table from the source Oracle instance table.
    And if I run the Interface in context 2 then the interface would populate the data into the target Oracle table from the source MS SQL Server instance table.
    I know such a thing is possible if the both of the source instances are in the same technologies like Oracle, but my requirements are for the Heterogenous sources.
    Please share your ideas about it.
    Thanks

    There is no problem for what you ask,
    you can change your source depending of your context and it works with same technologies Source or heterogenous Technologies.
    Once you have define your connexion (physical and logical Schémas for the both technologies) you have to define your bridge between logical schemas.
    In the Topology module by clicking on your first logical Schema, Oracle in your exemple, you can define for another context the use of another Schema.
    You will define Oracle in Context one and MS SQL SERVER for Context2.
    When you have done this you have tocreate yôur interface with Oracle Datastore and when ODI will see an Oracle Datastore on Context 2 it will transform it in MS SQL SERVER.

  • Migrate SharePoint's SQL Server (physical) to another SQL Server (virtual server)

    Infrastructure team is migrating domain\SQLSERVER db to new ‘XYZ’ Location.  Also they are moving these DBs to virtual server. Currently these are physical DB servers.
    I am trying to keep the server names as same ‘SQLSERVER ‘, but IP address may change. Does it have any impact on MOSS environment and what configuration changes need to be done, if needed???
    Note: -  i am using alias  for my share point 2010 server . 
    SERVER INFO
    2 WEB SERVER , 1 APPS SERVER
    NINTEX Workflow Database without Sql "Alias"
    No any Customization only 2 site colleciton with Nintex workflow.

    You can move all content databases to another SQL server, but moving Configuration DB will have impact on the farm. You can make it work using SQL Alias created on SP server using cliconfg.exe utility but some of the services will break on your farm. As
    far as I know It is not recommended to move config db from one sql server to another.
    You can check below link for referrence on moving databases from one sql to another sql:
    http://technet.microsoft.com/en-us/library/cc512725(v=office.12).aspx
    http://blogs.msdn.com/b/shaden/archive/2007/07/05/moving-the-sharepoint-databases-to-a-new-sql-server-instance.aspx
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • SQL Server Max Memory Settings

    Hi,
    I'd like to check if SQL Server will consume memory more than the configured MAX Memory settings? And if so when does SQL consume that and how much would it consume.
    Regards,
    Jay

    Hi,
    I'd like to check if SQL Server will consume memory more than the configured MAX Memory settings? And if so when does SQL consume that and how much would it consume.
    Hi
    Can you please tell us what is version and edition of SQL Server here. If it is 2012 its little difficult to reporduce your scenario where SQL Server 2012 will take more than max server memory setting because lots of features which use to take memory
    outside buffer pool before SQL 2012 are now changed to take memory from buffer pool. Also quite lot depends on whether system is 32 bit or 64 bit
    For SQL Server versions below 2012(not SS2000) you might get lucky with following (taken from
    Here)
    1. COM Objects
    2. SQL Server CLR
    3. Memory allocated by Linked Server OLEDB Providers and third party DLL’s loaded in SQL Server process
    4. Extended Stored Procedures:
    5. Network Packets
    6. Memory consumed by memory managers. If the memory request is greater than 8 KB and needs contiguous allocation. 
    7. Backup
    If you heavily use above features you might see SQL Server memory utilization crossing above max server memory setting. Of all above SQLCLR and extended stored procs would be my bet. If you use them heavily you might see what you want to. Extended
    stored proc has performance issues so use it on your own risk. Use below query to check SQL server memory utilization( works from SS 2008 and above)
    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
    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 Articles

  • SQL server client memory required

    Hy
    I want to ask, that I have a MS SQL 2000 Enterprise edition server. How much memory required per client. I know, the SQL system memory required (more 1 G) but my question is, if my SQL server use plus one client, how much memory must take in my blade?
    pls help

    Although there are some thumb rules out there, it is hard to tell as you did not specify which kind of access the users are doing at the database. For ressource intensive querying you should put more memory in your server, where on the other hand you would not have that much memory for users doing plain and simple (Select / DML ) operations. How many users do you have, how many are connected on average, what are they doing on the database ?
    Jens K. Suessmeyer.
    http://www.sqlserver2005.de
    ---

  • SQL Server 2008R2 memory issues

    Hi Experts.
    I have SQL Server 2008R2 installation,We allocated 102400MB(100GB) Memory   out of 128GB Installed.
    But Task manager is showing  SQL Servr using 104 GB.Please some body let us know why SQL Server uisng more memory more than we allocated.
    Please advise next step or recommendations if any 
    OS :Windows 2008R2 64bit.
    DB:SQL Server 2008R2 64bit.
    Thanks in advance.
    Regards,

    But Task manager is showing  SQL Servr using 104 GB.Please some body let us know why SQL Server uisng more memory more than we allocated.
    You should not refer to task manager for SQL server memory consumption. Its windows tool it always wont show you correct value.
    Please use below query to SQL Server memory utilization
    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
    from sys. dm_os_process_memory
    100 G limit is put on SQL Server buffer pool. SQL Server can still use memory more than 100 G because few memory allocations for objects like, XML,SQLCLR, Linked server, backup , database mail etc are allocated directly by windows and sys.dm_os_process_memory
    does not tracks it. So just relax this is normal
    Task manager only show Working set.
    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

  • My Notebook's Physical Memory too High!!

    Hello, After almost 6 months I noticed that my notebook's spped is getting too much slow so I decided to do Recovery in order to get back its orginal speed. When I was done wtih Recovery, I found that at the very start (After Welcome Screen) it gets too slow and It shocked me that I have just done Recovery and what has happened. On experiencing it, I opened a Task Manager and found that in Performance Section that my PHYSICAL MEMORY IS fluctuating between 80-85% and sometimes 90-93% which is a way too high. What do I need to do?

    , Hello and thanks for posting back.  The reson the memory shoots up when you install some programs is due to the fact that they run in the background and with the newer office programs and so on they are constantly checking for updates and are linked to the internet for licence reason.  The only way to fix this is to add more memory or look into memory management in windows. About Memory Management Now one thing you may want to check is the system itself.  Here is a link to the system BIOS diagnostics you can run to check the state of your hardware and memory. HP Notebook PCs - System Diagnostics (F2)  HP PC Hardware Diagnostics Please let me know what you find out. Thanks again for the post and have a great day.  

  • If my peak "physical memory" usage is around 50%, is adding more RAM a waste of money?

    I have a W700-DS with the T9600 dual-core and an SSD, and when running 4GB of RAM I'd notice that memory usage tended to rarely exceed 50%. Just for the heck of it, I just upgraded to 8GB of RAM, and now I'm curious as to whether I wasted my money, as the 4GB usage never hit 100%. One thing I did notice is that my "Windows Experience Index" went from 5.9 to 6.4, but I'm guessing maybe that's just marketing BS from Microsoft.
    Thanks for your opinions.

    If you haven't checked it out already, take a look at what the Resource Monitor tells you. I'm "using" only abpit 3GB out of 12 right now, but 9GB is marked "standby" -- memory filled by SuperFetch with items I'm most likely to need. The memory is still availalbe for something else if Windows/SuperFetch guessed wrong, but if it guessed right, it's already there and ready to go. Thus the boost to your Experience Index isn't total BS. You may actually be find your system more responsive. For example, if you always start your morning reading email, then check a website, then finally open your primary work applications, having more RAM allows SuperFetch to predictively load more of this while you're doing something else.
    Interstingly, as I was typing this, my In Use dropped to 2.7G, Standby has filled the remainign 9.3G and free is down to 0 (Hardware Reserved is a negligible 113MB).
    You don't mention exactly what OS you're using, but I'm going to presume Windows 7 x64... with a 32-bit OS, you definitely would have been wasting your money with its nominal 3GB limit. SuperFetch wasn't quite as good with Vista, but there would still be some benefit there, I think. I have no experience with XP x64.

  • Other memory usage high using Ipad 2 and IOS7

    8.5go right now...too high!
    what can I do

    fabponey wrote:
    8.5go right now...too high!
    If that's too high, what do you believe is just right?

Maybe you are looking for