How To Limit Memory Use
The Rerun Viewer can not yet view more data than fits in RAM. The more data you log, the more RAM the Rerun Viewer will use. When it reaches a certain limit, the oldest data will be dropped. The default limit it to use up to 75% of the total system RAM.
You can set the limit by with the
--memory-limit command-lint argument, or the
memory_limit argument of
If you have multiple processes generating log data to Rerun it could happen that the Viewer builds up a backlog of unprocessed log messages. This can induce latency and also use up memory, which
--memory-limit cannot fix. To handle this case, you can use
rerun --drop-at-latency 500ms to start ignoring new data if the input buffer exceeds 500ms of data.
This is a rarely used feature, and is mostly documented here for completeness.