How to increase dom0 swap size without rebooting?

How can I increase the dom0 swap size without rebooting?

There are a number of ways to do what you’re asking, but I cannot figure out why you’re wanting to do it. What it is you’re actually trying to do?

@queen , instead incressing available memory for this memory leak as a mitigation it could be better to make cron job to restart qui-domain periodically?

1 Like

Haha, read your comment after adding something like:
14 14 * * * uptime -p | grep -qiE "year|month|week|day" && systemctl --user restart qubes-widget@qui-domains.service
… to my user crontab in dom0!
(runs once a day, at a randomly chosen time, and restarts the widget if the system uptime is greater than one day; all invoked commands are in /usr/bin which is by default in the PATH used by cron)

2 Likes