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

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

      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.

        This is the controller panel for Smart Panels app

              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

                Created:
                Updated:
                Resolved: