Jrun.exe memory leak

Hi,
I had my brand new test server setup earlier this month with
everything clean installed. I'm having issue with jrun.exe memory
usage skyrocketing to 500mb+. jrun.exe also makes the sql queries
to respond slow. What i've been doing for past week is terminate
the process, and restart the server.
Event after restarting, sometimes it instantly goes back to
500mb+ usage. I'm testing farely small application on this server,
i dont think the application would be causing this issue.
I had the same problem before, thats why it lead me to get
new test server, but now event on brand new system, jrun to repeat
same issue.
Beside coldfusion, i have sql server 2008, which runs
perfectly normal throughout the week.
Does anyone know the fix?
Syed

Jrun's jvm memory usage is configurable in the jvm.config
file. It is most likely the default startup is defaulting to take
up a minimum of 500 MB. Different jvm's act differently and some
are better at memory management than others. This isn't necessarily
an indication of a memory leak, it's more the jvm's nature to act
in this manner. No matter what it's probably peaking around 1.5 GB
if I had to guess.
I would look for other areas when it comes to performance, if
it's a small application and the only thing running on the CF
server. Look for things like unintentional loops, returning large
record sets from SQL, large values in session variables. Also never
store client variables in the registry. It could also be if you
have large db tables, you may need some indexing in the database.

Similar Messages

  • CF8 jrun.exe memory usage

    Hello-
    Thanks in advance. I've installed an eval version of CF8 on
    my (future) production server running Windows 2003 Server Standard.
    I've noticed jrun.exe is using about 160+MB of RAM. That seems high
    to me, so I installed it on my development machine and noticed it's
    using the same amount. Is this normal? It seems high considering
    CF7 was using about 55MB. I've scoured the forums (and Google) to
    see if there's any info on this, but no luck.
    Your input is appreciated.
    Thanks,
    Peter

    I meant eight hundred megabytes to one gigabyte, of RAM, in
    use, times two instances per physical box. :)
    We're doing about 3.5 million page hits per day on one
    app/web server for a corporate intranet. So we run high in the
    memory usage department.

  • Jrun.exe Memory Issue

    I am using Coldfusion 8 Developer Edition as a testing server
    for Dreamweaver website development. I am running Windows Vista
    Home Premium and 2 Gig of memory. When I start my computer I run
    into memory issues which I have traced to jrun.exe which is a part
    of Coldfusion. For maybe the first hour jrun is using well over a
    half a gig of member. After that it drops to about 60,000k. Does
    anyone know of a way to reduce that?
    I am a mid level user with no server admin experience beyond
    setting up CF developer edition using mostly default settings. I
    have found support articles about this problem, but all of them
    were way over my head. Any suggestions need to be very specific and
    not in server admin jargon.

    You can try reducing the max heap for the java in the
    coldfusion administrator to little bit lower value so the garbage
    collection might happen sooner. Its not easy to say how much max
    heap you should set as it totally depends on your application
    usage. Also, you can try to upgrade your java version to see if
    that improves garbage collection.

  • 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.

  • Windows Audio Device Graph Isolation [audiodg.exe] MEMORY LEAK - EATS OUT 60-85% of CPU

    Hello,
    I've updated, 2 days ago, from Win 8 to Win 8.1 Pro and this memory leak problem that has occurred to me previously in other Win versions has arrived again. Didn't upgrade from boot, just from the desktop. Cleaned up the previous Windows installations and all
    that jazz that was inherent to Windows updates. Tried to fix this problem with the normal method of disabling the enhancements at the playback device but they are gone.
    My drivers are all up to date and have a Conexant SmartAudio HD sound platform. 
    Thanks in advance for any sort of help.

    I maybe got a solution for this... (Worked for me)
    I
    Right-click the speaker icon in the lower right corner.
    Select Playback Devices from the menu. A list of devices should appear on the screen.
    Double-click the device that has a green checkmark. The properties windows for that device should open.
    Click the Enhancements tab at the top.
    From the list of enhancements, uncheck all of them, or click the Disable all enhancements checkbox.
    Click the OK button to save your changes and close the window.
    Click OK to close the Playback Devices window.
    Please reply if that helped you :-)

  • Virtscrl.exe memory leak

    I've noticed strange behaviors from virtscrl.exe: after a few hours of using my W530, the process has over 1 million handles (shown in task manager) and my memory's Paged Pool shoots up to 4 - 5 GB (usually smaller than 1 GB). Any idea why? I'm using the latest version from the driver's page. Screenshots:
    Link to image 1
    Link to image 2
    And this is after killing the process:
    Link to image 3
    Moderator comment: Image(s) >50KB (or totaling >50KB) converted to link(s). Community Rules.
    Solved!
    Go to Solution.

    I definitely recommend uninstalling Lenovo Auto Scroll until this problem is fixed.

  • Tomcat5.exe memory leak?

    Hi
    We have an Xcelsius dashboard that once opens causes tomcat to increase in memory until it reaches about 1,200k at which time tomcat no longer services any requests.  I have the latest Sp and hot fix installed for both Xcelsius and XI 3.1.
    If 4 people open the dashboard it takes approx 1 hour for tomcat to reach the max memory.
    We have Windows 2008 x64.  XI 3.1.
    Anybody have any ideas?
    thanks
    Rob

    There is a good FAQ for Tomcat memory settings [here|http://wiki.apache.org/tomcat/FAQ/Memory]
    If you want to upgrade the JDK used, you need to install the package on the server and then configure Tomcat to use the new JDK by setting the JAVA_HOME variable:
    Click Start->Control Panel->System. Then click Advanced, then click "Environment Variables".
    Under System variables, click "New". For Variable Name, use JAVA_HOME (exactly like that, case and all). For Variable Value, use c:\JDK_DIR. Click OK until the Control Panel is closed.
    Verify the setting. Click Start->Run, and in the command box type "cmd" and click OK. At the command prompt, type echo %JAVA_HOME% and verify that the value returned matches the directory for the new JDK.
    Regards
    Caroline

  • Memory leak in tagsrv.exe

    I'm seeing a memory leak in tagsrv.exe on my laptop, where I use DSC
    v8.2.  When I close the screen (suspend the laptop), and then open
    it again (resume), the tagsrv.exe memory usage jumps dramatically,
    often to over 125MB.  What is more, it appears each time I do this
    the memory jumps again by this amount (I'm not completely sure how
    consistent the incremental increase is, but I've often seen over 250MB
    memory usage, and as high as 500MB).  Has anyone else encountered
    this, or does anyone have a solution?
    Thanks.
    David Moerman
    TruView Technology Integration Ltd.

    Attached are some images of memory usage.  Interesting, but the
    problem does NOT occur if I simply hibernate then resume over a short
    period of time.  The images you see are the result of hibernating
    OVERNIGHT.  Not sure what to make of that.  I did not have
    LabVIEW running when the memory jump occured.
    The LV DSC project I'm working on has about 40 shared variables, many
    of which are supposed to be connected to a Modbus/TCP client via
    OPC.  However, during this development period I do not have the
    hardware, so some shared variable errors result which I ignore. 
    Also, I'm using a dataset I/O server to create batch-oriented datasets.
    -Dave
    Attachments:
    memory1.GIF ‏49 KB
    memory2.GIF ‏49 KB

  • Memory leak in oracle.exe and mds.exe

    We are facing Memory leak in oue MDM server. Our environment details
    are as follows;
    MDM 5.5 SP5 ( Build 5.5.41.70)
    Oracle 10.2 patch 2
    windows server 2003 SP1
    XI 7.0 SP 9
    If server is running continuously 3-4 days then Nonpaged memory is
    getting exausted and server does not respond. Now we have to retart the
    windows server manually.
    If we see the task manager it is shows more than 200,000 handles for
    oracle.exe and more than 100,000 handles for mds.exe.
    1: Oracle.exe -- more than 200000 handles ( Approx >5000 is problem)
    2: Mds.exe -- more than 100000 handles ( Approx >5000 is problem)
    Since these applications are not releasing the handles properly so all
    nonpaged memory gets exausted and server stops responding.
    If we restart the mdm server, database and OracleserviceMDMD, then
    nonpaged memory is released. But some times even if we restart these
    services, we do not get nonpaged memory released. So we have to restart
    the windows server.
    please help me if anyone else have faced the same problem.
    regards
    Saurabh

    Closing as question is answered in MDM forum.

  • Memory Leak in NK.exe

    Hi All,
    OS: Windows Embedded Compact 7 with updates till Feb 2015.
    Hardware: AM335x based 
    Applications running: one serial port application and one tcpclient and tcpserver apps. all are managed (C#) applications
    I am facing memory leak issue with our headless device. 
    When I connect the device to LAN network, memory usage keep increases and after few hour (some times <1 hour, some times 4-5 hour) devices go to hang state due to low memory.
    I also tried to run the resource leak detector and found
           1. NK.exe heap is increasing
           2. on startup : API Handle Count = 4118, DuplicatedHandle - Count : 4,082, Size : 4,082 bytes
    After few minutes: APIHandle - Count : 49,172, Size : 49,172 bytes, DuplicatedHandle - Count : 48,810, Size : 48,810 bytes
    NK.exe heap increases as available RAM decreases.
    our application heap is constant only. please find below memory snapshots taken by devhealth.
     1. On device start up after all apps started
    2. After 1 hour of device running. - refer attachment
     where exactly might be this leak, any Guess?
    Thank you...
    rakesh

    Hi tomleijen,
    Thanks for your suggestions.
    Even we tried without any user apps, then also we found ~1 MB increase in NK.exe heap every 30-40 min.
    we have 2 images 1. with all WEC7 updates (Till feb 2015) and 2. without any of the WEC7 updates
    almost same problem we are facing with both images.
    rakesh

  • Memory leak for services.exe

    Hi,
    I have been observing memory leak for "Services.exe" process and which causes server hung issue. I am having server 2008 R2, hosting SQL server 2008 R2.
    the handle count for services.exe rises to its limit quickly and the casues the server hung issue.

    Hi,
    I agree with Milos that you can install Process Monitor to find the root reason for this issue:
    http://technet.microsoft.com/en-au/sysinternals/bb896645.aspx
    In addition, it may caused by some corrupt event logs, please make sure you have applied the Maximum log size setting for event logs appropriately.
    Best regards,
    Susie

  • Memory Leak on SpoolSv.exe

    Hi
    I have a Windows 7 x64 (Ultimate) running on my laptop.  Weeks ago i started noticing weird errors like: "memory low", can not start virtual machine.  I wasn't running special memory consuming programs.  "A reboot a day keeps the troubles away" was my temporary workaround. 
    When i started digging into the problem, i noticed that memory usage of the process spoolsv.exe was rather high.  I have a screenshot of my task manager showing that the "Private Working Set" and also Commit Size is very large.  
    In the meantime, I have read in another post about a general memory leak in Windows 7 where they suggested using the driver verifier, but it didn't gave me any clue. I uploaded the screenshot of the driververifier.
    When the process is skyhigh in memory usage, i can kill it.  But a few minutes later i have taken these screenshots from the process explorer. 
    1) SpoolSv is using CPU.  Apparently it is not only consuming RAM but also CPU power.
    2) spoolsv.exe graph
    I am not printing, or have not printed since days (and several reboots).
    Normally I wouldn't care about (temporarly) high memory usage, but it really never drops...  Other programs do crash because the lack memory (like videodriver or skype).
    Has someone any idea why this process slows down my pc and keeps getting bigger minute after minute?
    Kind regards
    Please click 'Mark as Answer' on the post that helped you.

    Hi DamPee,
    In addition, I would like to suggest you perform the following steps to check the issue.
    Clear Printer Spooler Files and Restart the Spooler Service
    =================================
    1. Click Start, type "Services.msc" (without the quotation marks) in the Start Search box and press Enter.
    2. Double-click "Printer Spooler" in the Services list.
    3. Click Stop and click OK.
    4. Click Start, type "%WINDIR%\system32\spool\printers" in the Start Search box and press Enter, delete all files in this folder.
    5. Click Start, type "Services.msc" (without the quotation marks) in the Start Search box and press Enter.
    6. Double-click "Printer Spooler" in the Services list.
    7. Click on Start. In the Startup Type list, make sure that "Automatic" is selected and click OK.
    What’s the result?
    Arthur Li - MSFT

  • Plugin-container.exe takes over and uses 100% of my CPU locking me out and leaving my PC non-functioning. Is this a bug, or a memory leak, in the Firefox software? Can anything be done to fix this problem?

    In looking at Windows Task Manager I found that plugin-container.exe was taking over 100% of my CPU and my system was frozen. Is this a memory leak or other bug?

    Thank you! I have been having problems with Adobe Flash since downloading the new 11.1 version. I will download it again and reinstall it, hopefully that will correct the problem.

  • 2008 R2 - Memory Leak from svchost.exe - Module "rpcrt4" is the culprit

    Hi All
    Over the past week or so (after a set of Windows updates and restart) svchost.exe has increasingly used more and more memory. It probably gobbles up an extra 1GB per day and doesn't relent. 
    After running various diagnostics, the debug diagnostic tool finally provided me this information after a memory leak test:
    rpcrt4.dll is responsible for 1.76 GBytes worth of outstanding allocations. The following are the top 2 memory consuming functions:
    rpcrt4!AllocWrapper+2b: 1.76 GBytes worth of outstanding allocations.
    rpcrt4!Ndr64ClientInitialize+964: 1.36 MBytes worth of outstanding allocations.
    Detailed module report(Memory)
    Module details for rpcrt4
    Module Name   rpcrt4 
    Allocation Count   946941 allocation(s) 
    Allocation Size   1.76 GBytes 
    Module Information 
    Image Name: C:\Windows\System32\rpcrt4.dll   Symbol Type:  PDB 
    Base address: 0x00000003`00905a4d   Time Stamp:  Sat Nov 20 13:13:18 2010  
    Checksum: 0x00000000`00000000   Comments:   
    COM DLL: True   Company Name:  Microsoft Corporation 
    ISAPIExtension: False   File Description:  Remote Procedure Call Runtime 
    ISAPIFilter: False   File Version:  6.1.7601.17514 (win7sp1_rtm.101119-1850) 
    Managed DLL: False   Internal Name:  rpcrt4.dll 
    VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved. 
    Loaded Image Name:  rpcrt4.dll   Legal Trademarks:   
    Mapped Image Name:     Original filename:  rpcrt4.dll 
    Module name:  rpcrt4   Private Build:   
    Single Threaded:  False   Product Name:  Microsoft® Windows® Operating System 
    Module Size:  1.18 MBytes   Product Version:  6.1.7601.17514 
    Symbol File Name:  c:\symcache\rpcrt4.pdb\7D748DA6D7454C9EA38C8CEF1C9E75F22\rpcrt4.pdb   Special Build:  & 
    rpcrt4!AllocWrapper+2b  has 944,468 allocations! 
    I'm running 2008 R2 64bit with anywhere up to 80/100 simultaneous RDP connections at any one time.
    Can anyone help or advise as I cannot find any hotfixes for this issue.
    Thanks
    Ryan

    Hi Ryan,
    Please narrow it down to the specific service that is having the issue.  That way you will know where to focus on.
    For the specific svchost.exe that is showing the large memory usage, use task manager/process explorer/etc. to determine which service(s) are running within it.  If there are multiple services running within it, I recommend you isolate them and then
    restart your server.  For example, say you determined that the following services are running in the "problem" svchost.exe: AudioEndpointBuilder, Netman, TrkWks, UmRdpService, Uxsms.  You would open an admin command prompt and enter the following
    commands:
    sc config AudioEndpointBuilder type= own
    sc config Netman type= own
    sc config TrkWks type= own
    sc config UmRdpService type= own
    sc config Uxsms type= own
    After entering the above commands you would restart your server for the changes to take effect.  Over time you would monitor memory usage of the suspect services, and eventually it will become apparent which one is using too much memory.
    Thanks.
    -TP

  • Possible Memory Leak in CF8

    Alright - not sure what type of problem this is but it is a
    problem. The scenario is this: I have an application that worked
    fine in CF7 (in terms of allocating and releasing memory) - but
    when I moved to 8 - my memory keeps growing and growing without
    anything being released (so it seems). This is a gigantic pain
    because everything works great in 8 except for memory management
    issues - I have tried all sorts of JVM argument combinations (for
    setting the garbage collection and heap sizes, GC intervals,
    etc...) - I cannot get jrun.exe to quit growing to the point it has
    to be restarted.
    Does anyone know what could be doing this? I can't turn
    memory monitor on or the app crawls - but for some reason the new
    architecture seems to disregard garbage collection (or at least on
    certain objects).
    I just find it extremelly frustrating that CF7 seems to be
    fine in terms of jrun.exe running fine with memory not going crazy
    - but CF8 just doesn't want to play nicely.
    Any help with this is greatly appreciated.
    Thanks,
    CM

    Thanks for your help ke4pym - figured it out (and this might
    help some others as well):
    We have a 2 tier web app with a database server and an
    application/web server - the database server is running
    Intersystems' Cache 5.2 and we have CF8 connected via the 'OTHER'
    selection in the datasource admin using a jdbc connection string
    and the Cache driver that ships iwth Cache. Works good - there are
    a couple benefits with doing this rather than using an ODBC
    connection (which uses a system DSN on the server and limits our
    connectivity to only queries - no stored procs or anything else -
    so essentially - the onty thing we could do with the ODBC
    connection is query the database).
    So we figured out how to connect using the jdbc connection
    and Cache driver which allowed us to then run stored proc's and
    whatever else we wanted to do in Cache via stored procedure calls -
    BUT - here is where the problem came up - for some reason - all the
    connection references or query data that was being used NEVER WAS
    RELEASED FROM MEMORY - it simply stayed there until we restarted
    the CF app server and refreshed everything. Once we put it back to
    the ODBC it works fine - doesn't use any memory for database calls
    (the main problem was that we have an email job that generates 1000
    or so reports for customers and emails them off - around 200 or so
    - the server would crash with an 'outofmemory exception' which we
    tracked down in the jre logs.
    So not sure if this is a bug or if it is just an unstable way
    of using these two technologies - but thank goodness we figured out
    that reverting back to the ODBC fixed all memory leaks (or whatever
    you want to call them). So take note anyone - IF YOU USE A
    CONNECTION STRING TO CONNECT TO A DATABASE AND SEEM TO EXPERIENCE
    MEMORY ISSUES WITH LARGE AMOUNTS OF INFORMATION BEING QUERIED FROM
    THE DATABASE - TRY USING AN ODBC CONNECTION (via a system DSN
    created in windows ODBC admin).
    Last thing - where did you find the HF2 - I only see HF1 for
    CF8 listed in the developer center - can you send a link please?
    Thanks for your help again ke4pym,
    CM

Maybe you are looking for

  • Re: Do not use coupon if you want to price match later! Policy is VERY MISLEADING

    I'm glad to hear your issue got resolved... I used a 10% coupon too, the day before it expired on 11/15 on a $2,499 TV.thinking that if price went down, I'm covered by the price match guarantee... I bought the TV online because the store will not acc

  • Container Managed Security on Tomcat - configuring different auth-methods

    I am trying to configure the container managed security on tomcat4. Or rather I am trying to add a further dimension to the configuration that already exists. At the moment the entire application uses LDAP authentication and I would like to separate

  • Two Environments with one Workflow installation??

    Hi all, I have OWB repository which is created on DEV environment on a box and workflow installed for the same Later on I have added a seperate database on the same box for QA and have sucessfuly created a repository also. I have configured the workf

  • Macbook shuts down when using YM and webcam

    Hello everyone! I am a new to this forum and a new mac user as well. Whenever I use Yahoo Messenger and the built-in webcam my Macbook shuts down after few minutes of use. Anyone experience this problem?

  • How Do I Make Backup Copies?

    How do I make or save a backup copy of an iPhoto Book project onto an external hard drive? Do I have to save the entire iPhoto Library? How? Drag & drop -from iPhoto to Finder- doesn't appear to work (for either the Library or the Book). There are no