Potential for memory leaks with Telemetry Collections #5419
Labels
needs:e2e
Needs an e2e test
needs:test instructions
Missing testing notes
performance
impacts or improves performance
severity:blocker
type:bug
Milestone
Summary
Telemetry Collections allow views to offload bounds checking to the telemetry API and focus on displaying telemetry data. Telemetry Collections will maintain historical telemetry for the duration of the currently configured time conductor bounds by design.
Although this is intended behavior, if telemetry collections are used for doing simple bounds checking in "instantaneous value" type displays, like LAD Tables and Channel Tables, it can lead to a memory leak, albeit a bounded one. These types of displays are only ever interested in the latest telemetry values, but if a TelemetryCollection is used for this purpose it will hold onto a lot of historical values unnecessarily.
Expected vs Current Behavior
A potential solution is to have Telemetry Collections inspect the request options and honor the 'latest' strategy when present. In this case it would just not retain any history.
Impact Check List
The text was updated successfully, but these errors were encountered: