Hardcoded decode cache makes logging jpeg defacto more memory intensive than raw images #3036
Labels
📉 performance
Optimization, memory use, etc
user-request
This is a pressing issue for one of our users
If a user sends all their images as jpeg, e.g.
rr.log_image(f'{label}', img, jpeg_quality=75)
, they will observe higher memory usage until the tensor decode cache fills up than they would have with uncompressed images.This cache has a hardcoded size right now of 4gb on desktop and 1gb on web
rerun/crates/re_viewer_context/src/tensor/tensor_decode_cache.rs
Line 62 in be7a031
A bunch of action points:
The text was updated successfully, but these errors were encountered: