Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14412

Reduce heap memory use for surefire tests on JDK 8 in the Run core module

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • L3 - Default
    • 7.17.0, 7.17.0-alpha5
    • None
    • run
    • None

    Description

      JDK8 is not as resource-efficient as newer JDK versions. We use a lot of different application contexts in our Run (core) tests, and this impacts the heap memory on JDK 8. As a result, on JDK 8 the tests fail with an OutOfMemoryError: GC Overhead Limit Exceeded.

      Acceptance Criteria (Required on creation):

      • Apply the @DirtiesContext to unused application contexts so that they are not cached.

      Hints:

      WIth CAM-13966 we added a lot more tests, which increased the memory footprint of the tests.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              nikola.koevski Nikola Koevski
              nikola.koevski Nikola Koevski
              Nikola Koevski Nikola Koevski
              Miklas Boskamp Miklas Boskamp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce