Professional Web Applications Themes

JRun Memory Leak - Coldfusion Server Administration

Since upgrade to ColdFusion MX7 Enterprise the memory consumption of JRUN.EXE gradually climbs (pace of consumption depends on load) until all web sites stall. Even the CF administrator app stalls. Relief only comes by restarting the CF Application service. Even a restart of the service times out. Within minutes, the service is startable again and the cycle repeats....

  1. #1

    Default JRun Memory Leak

    Since upgrade to ColdFusion MX7 Enterprise the memory consumption of JRUN.EXE
    gradually climbs (pace of consumption depends on load) until all web sites
    stall. Even the CF administrator app stalls. Relief only comes by restarting
    the CF Application service. Even a restart of the service times out. Within
    minutes, the service is startable again and the cycle repeats.


    Augusoft Guest

  2. #2

    Default Re: JRun Memory Leak

    Any info in your logs, both the CFAdmin ones and the JRun logs?

    Andy
    xentrix Guest

  3. #3

    Default Re: JRun Memory Leak

    I'm having the same problem with CFMX 6.1. If I kill the jrun.exe process it
    will restart itself and everything will run fine...for a while. This is getting
    pretty frustrating. The JRun logs have the following entry multiple times:

    java.lang.OutOfMemoryError

    Any ideas for solutions?

    TylerWebGeek Guest

  4. #4

    Default Re: JRun Memory Leak

    The main contributor to our problem, as we later identified, was poor code
    (bad programming). The solution was to signficantly limit the number of
    session variables per page/template as well as refining RAM and CPU hungry
    queries. We identified that having a large number of session variables
    accompanied with improper use of CFLoop and no use of CFParam caused JRUN to
    keep grabbing memory while not releasing memory when the session/variable
    expired. For us, this only occurred when using a database for client
    variables. Our SQL logs showed numerous process lock problems related to
    JRUN's inability to release the memory. Even tuning ColdFusion (i.e. garbage
    collection, template caching, query caching, etc.) did not resolve the problem.
    Fixing enough bad code did.



    Augusoft Guest

Similar Threads

  1. #39438 [NEW]: Memory leak PHP Fatal error: Out of memory
    By nikolas dot hagelstein at gmail dot com in forum PHP Bugs
    Replies: 11
    Last Post: December 1st, 08:08 PM
  2. SQL Memory Leak
    By in forum Coldfusion Server Administration
    Replies: 0
    Last Post: September 6th, 06:15 PM
  3. 6.1 memory leakage/jrun hogging memory
    By SilentBob'secretfusion in forum Coldfusion - Advanced Techniques
    Replies: 2
    Last Post: May 17th, 01:18 PM
  4. memory problem/memory leak
    By Tron Juan Del Marco webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: January 20th, 06:02 PM
  5. Memory consumption of Ruby/mod_ruby combo on Apache [memory leak]
    By David Heinemeier Hansson in forum Ruby
    Replies: 4
    Last Post: September 10th, 01:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139