Sql memory usage increase each time win app runs

Hi,
Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
I restart SQL Server 2012. Only my win app uses SQL server.
First run of winapp.
start memory usage : 211.800 KB
close memory usage: 528.136 KB
Second run of xaf app.
start memory usage : 528.136 KB
close memory usage: 996.844 KB
Third run of xaf app
start memory usage : 996.844 KB
close memory usage: 997.640 KB
Fourth run of xaf app
start memory usage : 997.640 KB
close memory usage: 1.104.864 KB

Hi,
Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
Yes, it is perfectly normal for SQL Server to acquire and hold onto large amounts of memory indefinitely.  This memory improves performance by avoiding disk I/O, query plan compilation and costly memory management. 
On a dedicated SQL Server you should usually let SQL Server dynamically manage memory.  It will release memory if it detects memory pressure.  But if you often run other applications on the server than need significant amounts of memory (e.g. IIS,
application services), you may want to set max server memory as suggested.
Dan Guzman, SQL Server MVP, http://www.dbdelta.com

Similar Messages

  • How to get rid of J2EE Login screen for each time Client App run?

    hi there,
    How to get riud of J2EE login screen for each time client application r un?
    regards,
    elvis

    in the j2ee tutorial they say that you should run like this:
    runclient -client <appjar> -name <name> -Dj2eelogin.name=guest -Dj2eelogin.password=guest123
    the only thing is that it did not work for me...let me know if it works for you.
    chukii

  • Solaris process memory usage increase but not forever

    On Solaris 10 I have a multithreaded process with a strange behaviour. It manages complicated C++ structures (RWTVal or RWPtr). These structures are built from data stored in a database (using Pro*C). Each hour the process looks for new informacion in database, builds new structures on memory and it frees older data. But, each time it repeats this procedure, the process memory usage increases several MB (12/16MB). Process's memory usage starts from 100M until near 1,4G. Just to this point, it seems the process has memory leaks. But the strange behaviour is that after this point, the process stops to continue growing up anymore. When I try to look for memory leaks (using Purify tool) the process doesn't grow up and no significant leaks were showed. Did anyone found a similar behaviour or can explain what could be happening?

    markza wrote:
    Hi, thanks for responding
    Ja, i guess thats possible, but to do it all one row by row seems ridiculous, and it'll be so time consuming and sluggish surely.  I mean, for a months worth of data (which is realistic) thats 44640 individual queries.  If push comes to shove, then I'll have to try that for sure.  
    You can see by the example that I'm saving it to a text file, in csv format.  So it needs to be a string array, a cluster won't be of much help I dont think.
    The only other way I can think of is to break it up into more manageable chunks...maybe pull each column separately in a for loop and build up a 2D array like that until the spreadsheet storing.  
    You only do 1 query, but instead of Fetching All (as the Select does) you'll use the cursor to step through the data.
    You can use Format to String or Write Spreadsheet fire with doubles.
    You can break it down to get the data day by day instead of a full month at once.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • SQL Memory Usage

    Hello
    I am updating some items with the DTW. i am updating 9000 items. I have made 9 files of 1000 records, i am just updating the picturname field. When i start to upload the files the SQL Memory usage starts to grow more and more. When i try to upload the third file the memory has grown too much, and the DTW says the file update ok but it doesnt update the database. So i need to restart the SQL service (mssqlserver) and do it again. Some times it doesnt work so i need to restart the server.
    Any ideas??
    Jacobo

    hi,
    Check this information abt DI API Memory Consumption in WIKI SDK FAQ's.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/b1/faq_sdk
    DI API
    Memory consumption
    New connection mechanism in 2007 vs. classical
    1. In the old method the DI API was loaded into the same process with the Add-On and was an "actual part" of it, so calls to the DI-API were very quick and direct
    2. In the new method there is one common DI-API which is part of the Core B1. All the Add-Ons will use the same DI-API IF (!!!) they work in the new method. The calls to the DI-API have now to "go between" two processes. This means that they go through more processing and although it's all in the same machine and no actual communication (i.e., network traffic) is actually happening, the system's CPU and memory are "working harder".
    The impact is extremely small on an individual call level, but for an Add-On that makes a large amount of calls this difference accumulates...
    There is no huge additional CPU or Memory consumption. Most of the impact is on the Response Time level. Some of it is CPU consumption and some of it is Context Switch waiting.
    3. This trade-off between Memory consumption and Response Time is actually another reason why R&D thought it's a good idea to leave the new method to be optional based on a decision from the developer.
    Jeyakanthan

  • Why does PDF file size increase each time I "save" tagging tasks?

    Why does PDF file size increase each time I "save" tagging tasks?
    Given:
    1) I'm running Acrobat Pro 11.0.07 (this is most current version)
    2) My file size starts at 750mb and ends up 15mb when finished tagging.
    3) Only certain documents experience this increase, i.e., no visible pattern of document characteristics
    4) PDF's are not full of images...in fact, mostly <H1> <H2> <H3> <P> <Figure> alt text, ect.
    5) Occurs with text PDF's and/or fillable forms (again, does not happen to all documents...only some)
    6) File increase occurs incrementally as tagging tasks are performed; i.e., each new save increases file size a few megabytes.
    7) Occurs whether I "save" or "save as"
    8) Difficult to optimize these files without corruption
    9) I'm running Mac OS 10.9.4 (this is most current version)

    Thank you so much for responding! I've been experimenting with the SAVE AS vs. SAVE for the past few days...and you are correct. It's funny because I've been tagging files for 2 years and never noticed this. Probably b/c I use both methods depending on the tagging tasks...some are more complicated than others and should not be overwritten. In those cases I SAVE AS new file.
    I love this forum...thank you again!

  • CPU/Memory Usage increases when loading SWF files in AIR.

    Hi,
    We face the below mentioned problem. Would be great if someone could help us.
    Due to problems with uploading the attachment here, please send a email to the following email-id ([email protected]) and I shall send the attachment in response.
    CPU/Memory usage increases drastically while moving the SWC components and loading the SWF Files.
    "Problem Description" - On executing the sample application, a window with multiple objects is shown. The loaded SWC components in flex consume too much Memory and CPU cycles. This is visible in TaskManager. On dragging one of the object, CPU  / memory usage increases drastically.
    "Steps to Reproduce" -
    Draggable window is placed at the bottom in the sample application with Text indication.
    Drag the indicated window.
    "Actual Result" - System's CPU usage increasing drastically  around 50% to 60 %.
    "Expected Result" - Drastical increase in memory\CPU should not occur.
    "Any Workarounds" - No"
    Thanks in advance.

    You can control your external swf from your main.swf in the following method:
    loadswf(clips[0]);
    function loadswf(tmp:String):void{
        passedString=tmp;
        ldr= new Loader();
        ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressListener);
        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
        ldr.load(new URLRequest(animPath+tmp));
        function progressListener (e:ProgressEvent):void{
            ploader.visible=true;
        function swfLoaded(e:Event):void {
            mcExt = e.target.content as MovieClip;
            ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
            mcExt.addEventListener(Event.ENTER_FRAME,onEnterfn);
            ploader.visible=false;
            addChild(mcExt);
    function onEnterfn(e:Event):void{
        var num:int=mcExt.currentFrame;
        switch(passedString){
            case clips[0]:
                if (num==1) mcExt.play();
                if (num==9) {
                   mcExt.skipmc.addEventListener(MouseEvent.CLICK,skipfn);
                    function skipfn(e:MouseEvent):void{
                        mcExt.stop();
                       mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                        gotoAndStop("help");
                if (num==mcExt.totalFrames){
                   mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                    gotoAndStop("help");
                break;

  • Acrobat DC insists on checking the adobe CC license each time it is run. Can this be fixed ?

    Acrobat DC insists on checking the adobe CC license each time it is run. After that it will run, but starting this dialog up 10x a day is not what's it's supposed to do , right ? I should have no other check in 30 days ...
    Can this be fixed ? Other apps like photoshop and Lightroom do not do this. What do I need to do ?

    HiAnubha, I now have the messages again, both for Acrobat and the latest LightRoom 2015 CC

  • Genius: "you have no memory because you have too many apps running" ?!?!?!?

    hey all,
    just a quick thing. I saw a genius today, because like many of you, i'm not only dealing with antenna issues but also have some really bad proximity sensor stuff. I mean, seriously, i've done three way calls, face timed everyone, end calls of 50-60 percent of my calls, searched maps, made new contacts, etc. all with my face! rrrgggg but what i was more puzzled about was what the genius told me was,
    "you have no memory because there are too many apps running in the background" when i questioned and said, didn't steve say, "if you have to think about it, you've done it wrong" yet now i'm having issues with my phone, it is because of the multitasking? does this make any sense...it didn't to me. does he not know what he is talking about....or if he is right, there is nothing i can do about it right? he said there isn't a way to turn multi tasking off, just have manually quit programs.........any advice onto if he is correct...

    john2049 wrote:
    hey all,
    just a quick thing. I saw a genius today, because like many of you, i'm not only dealing with antenna issues but also have some really bad proximity sensor stuff. I mean, seriously, i've done three way calls, face timed everyone, end calls of 50-60 percent of my calls, searched maps, made new contacts, etc. all with my face! rrrgggg but what i was more puzzled about was what the genius told me was,
    "you have no memory because there are too many apps running in the background" when i questioned and said, didn't steve say, "if you have to think about it, you've done it wrong" yet now i'm having issues with my phone, it is because of the multitasking? does this make any sense...it didn't to me. does he not know what he is talking about....or if he is right, there is nothing i can do about it right? he said there isn't a way to turn multi tasking off, just have manually quit programs.........any advice onto if he is correct...
    The genius is incorrect. The apps that are suspended in the background are told to release memory, and if there is a shortage of memory or they don't comply as required they will be terminated at will by the OS (freeing memory). This is all done behind the scenes and will not cause you any memory issues. And the upside is you can switch to them much faster.
    Shorter version: memory not an issue with background tasks.

  • Must reset ipod touch each time install apps

    Got an iPod Touch (5.0.1) for Christmas. Using iTunes 10.5.1.42 on Win 7 box. I must restore the iPod each time I want to install more apps. It has over 4 GB of memory left. The Sync Apps area is all greyed out and nothing moves unless I restore it each time. This can take almost an hour. Its ridiculous. (Don't know if it's related but iTunes freezes almost every time it launches.) Anybody know how to fix this?
    --Allen

    Ok. I found the problem. I needed to go into Settings > General > Restrictions, then turn on Installing Apps. Somehow that was turned off.
    --Allen

  • Why is my data usage increasing multiple times a day when I'm on wi-fi?

    For both myself on the Samsung Galaxy S4 and my girlfriend on an iPhone 5c, both of which we got just a week ago, we see our data usage total increasing several times a day, typically in very small amounts, occasionally larger.  Her increases are about 10x larger than mine overall.  All of this happens when we're each on wi-fi so I wouldn't expect to see these increases then.  Any idea why this is happening and what I can do to prevent it?  I'm guessing it may be some sort of auto update processing happening in the background, but I don't know that for sure and don't know what else could be causing this.

    After talking to 4 different Verizon reps today, nobody could pinpoint the
    cause of this.  I was mostly just told not to worry about it.  My wifi has
    seemingly been very solid both here and at work; I don't notice dropouts
    when I'm doing other things on it.  But I did disable mobile data on the S4
    and observed that the data usage did not increase any further after I did
    that.  So I guess I'll either use that as my primary mode of operation, and
    just manually reenable it when I know I'll be away from a wifi signal, or
    turn mobile data back on and live with the ongoing hits until it becomes a
    storage issue.  At the rate we're using data thus far, that shouldn't
    happen.
    On Sat, Mar 8, 2014 at 12:37 PM, Verizon Wireless Customer Support <

  • ITunes 11.0.2 crashes each time i try running/syncing app after connecting to the iPad mini.

    Dear all,
    I have been experiencing this problem ever since I updated my iPad mini to the latest iOS 6.1.3. So after the update, I tried accessing my iPad apps using iTunes to put in some PDFs into the Adobe Reader app. Each time I pressed on the app, iTune freezes and crashed. And this is the report I have for my problem from Windows.
    Problem signature
    Problem Event Name:          APPCRASH
    Application Name:          iTunes.exe
    Application Version:          11.0.2.26
    Application Timestamp:          51253247
    Fault Module Name:          gdiplus.dll
    Fault Module Version:          5.2.6002.18581
    Fault Module Timestamp:          4f2bf90a
    Exception Code:          c0000005
    Exception Offset:          0002c52d
    OS Version:          6.0.6002.2.2.0.256.1
    Locale ID:          17417
    Additional Information 1:          fd00
    Additional Information 2:          ea6f5fe8924aaa756324d57f87834160
    Additional Information 3:          fd00
    Additional Information 4:          ea6f5fe8924aaa756324d57f87834160
    I have never experienced this before and my iphone 4, still on iOS 6.1.2 is still able to load the apps perfectly with iTunes.
    I have tried installing/uninstalling iTunes. Deleted the music/playlists in my iTunes folder. Restoring my iPad to previous backup.
    But all have failed.
    Is anyone experiencing the same problem or had this problem before? Please provide me some suggestions/help because it's getting really annoying being unable to load/sync my apps.
    Thank you very much!

    Dear Tom,
    I have tried reseting the ipad as well but it didn't help. iTunes still crash each time i tried syncing the apps.
    I authorized my friend's laptop to sync things into my iPad and it worked. I think the problem is with my computer but I dont know what went wrong because I never had this problem before.
    I also did sfc/scannow with cmd but doesn't seem to solve the problem.
    Any more ideas?
    Thank you!

  • Area of memory allocation each time the program runs

    the syntax
    DATA   f TYPE  C VALUE 'A' .
    Actually allocates a memory area say it is 1000 -
    now this is true for the  time the program runs-----my question is when the program  runs for the second time does the same location 1000 gets allocated or
    a new memory say5000 gets allocated?

    HI
    When prog runs it allocates memory and when it finishes it will make that memory free. Its not necessary that it always allocates same memory location. No need to bother about memory address SAP is not like C.
    Aditya

  • 99% memory usage all the time (MSI GX70 Destroyer)

    Hi
    My MSI Gx70 destroyer (6 months old) is running slow even when I'm not using any programs.
    I noticed my Memory Usage is allways at 97-99% but I can't find the cause.
    The "Non paged pool" seems to be taking up 6,4GB
    I tried to google the problem but I can't find it (I don't know much about computers)
    MSI GX70 3CC Destroyer
    AMD A10-5750M APU with Radeon(tm) HD Graphics, 2500 MHz
    8GB RAM (7,19GB available)
    64bit x64 processor
    Windows 8.1
    I've added a screenshot of my processes (It's in Dutch but you get the point)
    Any help would be very much appreciated

    Update your LAN driver to the latest available one on MSI website.
    http://www.msi.com/faq/nb-1032.html

  • DAQsingleBufExtTrig_Eseries.c returns higher voltage readings each time it is run

    I am useing A pci6024E board running the sample program DAQsingleBufExtTrig_Eseries.c to read an analog signal produced by A FUNCTION GENERATOR
    I thought that things were going well until I
    realized that each time i ran the program ,the voltage readings increased by about 1 volt each run .
    irregardless of the function generators settings
    I tried adding the AI_CLEAR FUNCTION TO THE PROGRAM BUT STILL GOT THE SAME RESULTS.Can someone please explain what I am doing wrong
    [email protected]

    Walter
    Does the program finish on its own, or are you aborting it before it ends? Also, is it that the voltages continue to increase, even above the range of the board?
    Try to do a DAQ_Clear(iDevice) at the very beginning of the program as well as the end.
    Brian

  • I'm trying to write a VI that updates a file each time it is run, but on a new day a new file is created which is updated until a new day begins.

    I have written a VI to create and update a file as many times as needed on any given day. On any subsequent day a new file is created which for that day will be updated each time the VI is run and so on. The problem is that when I run the VI the first time of a new day, ie when the file is created only data is written to the file and not the header data. When the file is appended, header data, and regular data is properly written to the file. Can anyone tell me how to correct this problem? A copy of the VI that I wrote is attached.
    Thanks,
    Chuck M.
    Solved!
    Go to Solution.
    Attachments:
    File - create new on date change.vi ‏15 KB

    You had the header information written when there wasn't an existing file, then you overwrote that file with another file consisting only of the data because you wired the "append to file? (new file:F)" the same for both functions (F causes it to create a new file).  I put the header writing function in a Case structure because you only want it to execute when this is a new file (otherwise it'll overwrite what's there).  Wire the path straight through the False case.  I wired a TRUE to the data writing function to always append (because there will always be a file by the time the program gets there).
    Jim
    PS - a few other observations
    Avoid sequence structures
    You don't need the property node
    Use Path functions (not string)
    Message Edited by jcarmody on 04-13-2009 05:58 PM
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
    Attachments:
    examp.jpg ‏19 KB

Maybe you are looking for

  • HR enhancement packs ECC 6 with Oracle

    Hi There! I need some assistance to trying to find the EHP's for HR. i have downloaded the EA-HR and SAP HR support packs to level 35 to get it to the right level but i am having difficulties in trying to find the EHPs and EHP support packs. Accordin

  • Processing a Two-Step Group in parts

    Dear all, I am processing my Two step group with LT0e and would like to process it partially. Is there a way to do that? Some background: When Picking from one of the Storage Types I want to use a Return Storage Type. Since this applies to one Outbou

  • Unable to fetch session variables in my application page code behind

    hi, my env:  1  WFE  server which hosts the  central admin and my web appln,  1 sql server box   i am having a custom web part[ listviewbyquery web part]  which populates the site collection/ sub site's document library contents . also it reads some

  • Idoc types that generate the log files

    Hi All, Can anybody provide me the list of IDOC types that generated application log files. As I found that material master IDOCs generate log files. Is there IDOC types other than material master that generate log files. Regards, Azra.

  • How do you make RealPlayer files?

    I need to make RealPlayer files of my FCP movies. I downloaded Real Export Plug-in for Mac OsX from Real Networks. It is supposed to enable Quicktime Pro to export RealPlayer files. However it gives me a "export failed" message. Anybody know about th