Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-267

Memory leak during load testing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0beta
    • 3.0.1
    • None
    • None

    Description

      http://mail-archives.apache.org/mod_mbox/ws-juddi-dev/200907.mbox/%3C4A645FB2.2020006@xceptance.de%3E

      I ran a load test comprising of 30 virtual user continuously executing a the following senario on a jUDDI node:

      • publish a business to the node with a unique name;
      • publish a random number of services (>0 but <8) under that business;
      • and search for the newly published business name.

      This was supposed to run for two hours but the application crashed after 1h 46m. As can be seen in the attached jconsole screenshot, the heap memory usage goes up almost linearly during the load test until it hit the maximum alloted memory, 1G (inserted 'export JAVA_OPTS=-Xmx1024m' in startup.sh). Then, it hung around one gig as the request's response times got longer and longer as can be seen in the attached XLT report at about 11:25 (go to 'Requests' via the navigation drop down in the top right corner, most easily seen on the 'Averages' graphs). Eventually, I started getting 'java.lang.Exception: GC overhead limit exceeded' and 'java.lang.Exception: Java heap space' exceptions (stacktraces can be seen under 'Errors' in the XLT report) and the application crashed.

      Attachments

        Activity

          People

            kstam Kurt Stam
            kurtstam Kurt T Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: