egui
egui copied to clipboard
Memory (RAM) usage is weird, in version 0.29.1
Describe the bug
- When normally working, the memory usage is about twice as large as that in version 0.28.1 (300MB vs 150MB).
- Especially, the memory usage will continue to increase significantly when the app (which is using eframe) is minimized.
To Reproduce Steps to reproduce the behavior:
- Setup an app that constantly receives sequencial images and renders textures, then run it.
- Minimize the app
- One would see the memory usage increases, e.g, from 300MB to 9000MB (stepping by about 300MB)
- But when we resize the app and let it show up, the memory usage would drop back to 600MB and hold on this level.
Expected behavior Memory usage should have no (or less) relationship with minimization.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11
Additional context
The Egui::Options
have already been set as follows
reduce_texture_memory = true;
max_passes = NonZeroUsize::new(1).unwrap;
repaint_on_widget_change = false;