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