Skip to content

Preloaded disposables' available memory threshold should be user configurable #10027

Closed

Description

@ben-grande

The problem you're addressing (if any)

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,

  1. Setting a space it cannot occupy, a threshold
  2. 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.

Completion criteria checklist

No response

Activity

  1. added
    P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.
    on Jul 1, 2025
  2. 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
  3. added
    C: coreThis issue pertains to a Qubes core component.
    C: Qubes GUI toolsThis issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.
    uxThis issue pertains to the user experience (UX) in Qubes OS.
    on Jul 1, 2025
  4. ben-grande commented on Jul 30, 2025

    @ben-grande
    Author

    Missing PR to frontend global config.

  5. ben-grande commented on Jul 31, 2025

    @ben-grande
    Author
  6. self-assigned this
    on Jul 31, 2025
  7. removed their assignment
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: Qubes GUI toolsThis issue pertains to Qubes GUI tools such as the Qube Manager and Qubes widgets.C: coreThis issue pertains to a Qubes core component.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.uxThis issue pertains to the user experience (UX) in Qubes OS.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions