Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7238

A memory leak was discovered during a simple load test

    XMLWordPrintable

Details

    • False
    • None
    • False
    • ---
    • ---
    • 2022 Week 23-25 (from Jun 6)

    Description

      Runtime: quarkus

      Persistance: infinispan

      Prop: kogito.persistence.optimistic.lock=true

      Process (each sequntial task is executing async by jobs service):

      We use a simple load test for Jmeter to send POST requests, the frequency of which gradually increases (over 5 minutes) up to 10 tps.

      An example of a load script for Jmeter (for Jmeter to work correctly, you will need to install the plugin Concurrency Thread Group - https://jmeter-plugins.org/wiki/ConcurrencyThreadGroup/):

      kogito_service_step_async.jmx

      HeapDums and JFR-files:

      heapdump.zip

      heapdump_2.zip

      heapdump_3.zip

      kogito-bpmn-async.jfr

      kogito-bpmn-async_1.jfr
      Request example: curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"username" : "test"}' http://localhost:8080/sequential

      Screen memory leak:

      Attachments

        1. kogito_service_step_async.jmx
          20 kB
          Aleksandr Samarkin
        2. kogito-bpmn-async_1.jfr
          1.70 MB
          Aleksandr Samarkin
        3. kogito-bpmn-async.jfr
          8.42 MB
          Aleksandr Samarkin
        4. Screen_memory_leak.jpg
          58 kB
          Aleksandr Samarkin
        5. Sequential_scenario.png
          112 kB
          Aleksandr Samarkin

        Issue Links

          Activity

            People

              cnicolai@redhat.com Cristiano Nicolai
              shuriksamara Aleksandr Samarkin (Inactive)
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: