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
{{ message }}
Repository navigation
Preloaded disposables' available memory threshold should be user configurable #10027
Preloading is already restricted by the available memory reported by qmemman. Some users mentioned that they would like to further control the quantity of preloads. Two options were requested,
Setting a space it cannot occupy, a threshold
Live reduction of preloads depending on the memory availability
I think the first one is easy as it is evaluated when the preload event is called, downside is the requirement of user configuration.
The second one is nice as it is automatic but harder as it would require some heuristics, consider when many disposable templates have multiple preloads, should it reduce one from each template or reduce from templates that have a huge number of preloads?
The solution you'd like
Some users mentioned they'd like to configure a threshold for preloaded disposables. It can be done with a qube feature that would expect values in MiB.
It needs to be reduced from the available memory, which is in bytes, so unit conversion is needed before the reduction.
The value to a user and who that user might be
Users can minimize system freeze by setting a configurable memory threshold in case they use preloaded disposables.
changed the title [-]Preloaded disposables available memory threshold should be user configurable[/-][+]Preloaded disposables' available memory threshold should be user configurable[/+]on Jul 1, 2025
Activity
[-]Preloaded disposables available memory threshold should be user configurable[/-][+]Preloaded disposables' available memory threshold should be user configurable[/+]Add available memory threshold to preload event
Add available memory threshold to preload event
Add threshold preload feature
ben-grande commentedon Jul 30, 2025
Missing PR to frontend global config.
Add available memory threshold to preload event
Add threshold preload feature
Add preload memory threshold spin button
Add preload memory threshold spin button
Add preload memory threshold spin button
Add preload memory threshold spin button
ben-grande commentedon Jul 31, 2025
Global config PR: QubesOS/qubes-desktop-linux-manager#272
Add preload memory threshold spin button
Add threshold preload feature
Add preload memory threshold spin button
Add preload memory threshold spin button
Add preload memory threshold spin button