You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEV: allow to set rustboard file read buffer size via ENV var (#6251)
* Motivation for features / changes #6248
* Technical description of changes
As discussed in the original issue, running `rustboard` on a large
number of tf event files can result in a OOM because of a larged, fixed
size read buffer for each file.
Allow to configure the buffer size via the `TB_GCS_BUFFER_SIZE_KB`
environment variable (buffer size in Kb).
* Detailed steps to verify changes work correctly (as executed by you)
```sh
> cargo build
> RUST_LOG=debug TB_GCS_BUFFER_SIZE_KB=1024 cargo run -- --logdir=gs://PATH/TO/MANY/FILE --reload-once
```
* Alternate designs / implementations considered
Could have been a CLI flag, see
#6248 (comment)
0 commit comments