Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-105

Chromium is crashing when running sequentially tests with multiple analysis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • MTA 6.1.0
    • upstream
    • UI
    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate
    • None

      Description of problem:

      When running tests suites that include more than one application analysis, the memory usage keeps increasing until Chromium finally crashes. 

      We detected an increase in memory usage while awaiting the completion of each analysis. This is due to requests made every 10 seconds to retrieve the status of the analysis.

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      This is only reproducible when executing multiple tests from CLI in Cypress.

       

      Actual results:

       Chromium crashes due to high memory consumption

      Expected results:

      We should be able to execute multiple analysis sequentially without exceeding memory limits.

      Additional info:
      Here are two snapshots of the resources before and after one analysis in one of our tests (these snapshots were taken just before, and just after one analysis, not one full test).

      Here are all the requests the app made during that analysis.

       

      Note: These snapshots were taken in a laptop with the test running in headed mode

        1. image-2023-02-02-16-04-30-829.png
          image-2023-02-02-16-04-30-829.png
          425 kB
        2. image-2023-02-02-15-59-37-079.png
          image-2023-02-02-15-59-37-079.png
          71 kB
        3. image-2023-02-02-15-59-14-285.png
          image-2023-02-02-15-59-14-285.png
          81 kB
        4. image-2023-02-02-15-58-51-415.png
          image-2023-02-02-15-58-51-415.png
          48 kB
        5. image-2023-02-02-11-04-16-660.png
          image-2023-02-02-11-04-16-660.png
          82 kB
        6. image.png
          image.png
          107 kB
        7. before.png
          before.png
          75 kB

              ibolton@redhat.com Ian Bolton
              rh-ee-abrugaro Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: