Professional Web Applications Themes

JBoss/Tomcat + Flex = Memory Leak? - Macromedia Flex General Discussion

I'm begining development on an application designed to run on JBoss (4.0.1sp1) and Flex (1.5). JBoss uses Tomcat (5.0.28) for it's web server. Initially deploying my application works fast and is very managable. However, with each consecutive deployment, the time it takes for flex to compile an mxml grows and grows until about the 5th or 6th re-deployment when an OutOfMemory exception is thrown. To continue, I have to restart JBoss. My development environment is setup on a powerbook G4 1Ghz with 768mb of RAM running Tiger. Does anyone have any ideas on how to remedy this very annoying and ...

  1. #1

    Default JBoss/Tomcat + Flex = Memory Leak?

    I'm begining development on an application designed to run on JBoss (4.0.1sp1)
    and Flex (1.5). JBoss uses Tomcat (5.0.28) for it's web server. Initially
    deploying my application works fast and is very managable. However, with each
    consecutive deployment, the time it takes for flex to compile an mxml grows and
    grows until about the 5th or 6th re-deployment when an OutOfMemory exception is
    thrown. To continue, I have to restart JBoss.

    My development environment is setup on a powerbook G4 1Ghz with 768mb of RAM
    running Tiger.

    Does anyone have any ideas on how to remedy this very annoying and time
    consuming problem?.

    By the way, FWIW (for what it's worth), when I take JBoss out of the equation
    and simply use Jakarta Tomcat 5.0.28 to deploy, I get the same result
    (OutOfMemory exception after the 5th or 6th deploy).

    Todd Boland Guest

  2. #2

    Default Re: JBoss/Tomcat + Flex = Memory Leak?

    I've had this problem before when developing Java applications in the past,
    there are a few things that can cause it.

    The following link may be helpful:

    [url]http://jakarta.apache.org/tomcat/faq/memory.html[/url]

    SpencerUresk Guest

  3. #3

    Default Re: JBoss/Tomcat + Flex = Memory Leak?

    Hiya, did you have any luck sorting your out of memory issue? I'm having the same problem......grrrrr
    chazter Guest

Similar Threads

  1. Flex on JBoss Portal
    By johan.wasserman@gmail.com in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: March 11th, 01:53 PM
  2. Replies: 0
    Last Post: March 31st, 11:56 AM
  3. Flex 1.5 Reload Memory Leak in Tomcat 5.5
    By IndoMan in forum Macromedia Flex General Discussion
    Replies: 5
    Last Post: January 24th, 08:49 PM
  4. Flex on JBoss
    By mventi in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: April 20th, 11:43 PM
  5. Flex and JBoss
    By Ken D. Nelson in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: February 23rd, 09:29 PM

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