Disable process output storage to reduce memory pressure during test runs
Categories
(Testing :: Marionette Client and Harness, task, P3)
Tracking
(firefox152 fixed)
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [webdriver:m20])
Attachments
(1 file)
The ProcessHandler's storeOutput flag causes all Firefox process output to be accumulated in an unbounded list for the lifetime of each process. With verbose logging enabled (-vv / Trace level), this can grow to tens of thousands of entries over a test run. The accumulated strings are
never consumed by the Marionette runner.
Disabling storeOutput avoids the memory growth and reduces GC pressure, which could contribute to the stdout pipe stalling under load on CI causing test failures like bug 1970481 or missing log output as noted on bug 1989904.
| Assignee | ||
Comment 1•27 days ago
|
||
The ProcessHandler's storeOutput flag causes all Firefox process output
to be accumulated in an unbounded list for the lifetime of each process.
With verbose logging enabled (-vv / Trace level), this can grow to tens
of thousands of entries over a test run. The accumulated strings are
never consumed by the Marionette runner — output is already streamed
to stdout via StreamOutput.
Disabling storeOutput avoids the memory growth and reduces GC pressure,
which could contribute to the stdout pipe stalling under load on CI.
Updated•27 days ago
|
| Assignee | ||
Updated•27 days ago
|
Comment 3•27 days ago
|
||
| bugherder | ||
Description
•