Stuck on Stage 3 of the Qubes 4.3 in-place upgrade

I’ve followed the Qubes OS guide: How to upgrade to Qubes 4.3 — Qubes OS Documentation

By doing sudo qubes-dist-upgrade --releasever=4.3 -r -s leads to:

INFO: Please wait while running pre-checks...
WARNING: /!\ MAKE SURE YOU HAVE MADE A BACKUP OF ALL YOUR VMs AND dom0 DATA /!\
-> Launch upgrade process? [y/N] y
---> (STAGE 2) Upgrading 'qubes-release'...
---> (STAGE 3) Upgrading to QubesOS R4.3 and Fedora 41 repositories...
INFO: Xscreensaver has been killed. Desktop won't lock before next reboot.
Using sys-whonix-1 as UpdateVM for Dom0
Downloading packages. This may take a while...
11 files removed
Fedora 41 - x86_64                              438 kB/s |  82 MB     03:10    
Fedora 41 - x86_64 - Updates                    1.4 MB/s |  38 MB     00:26    
Killed

I have no idea why it gets killed. I tried it many times and it always ends up as “Killed”. I tried to change the dom0 yum repos to the onion ones, standard ones, with no success. Does anyone have any idea how I can debug this problem?

(Note that I skipped Stage 1 since I had already upgraded most of my VMs before)

I was able to fix this by increasing sys-whonix’s max memory to 1 GB.