Thank you so much for getting back to me so quickly. I've deleted the
extensions as you suggested, and I can now reproduce the problem easily.

The issue being related to virtual memory is very strange, I agree.
Under normal circumstances I could see a program's RSS usage climb up
until it eats up the memory. However, in this case I can't observe
anything like that - RSS usage stays constant, and the only thing that
climbs up is the virtual memory. However, the effects are the same as if
the program was consuming RSS memory: Ubuntu will start feel sluggish,
programs will start responding slower and slower (probably they're
swapped out), and at some point a program crashes with out-of-memory.
You can observe this behavior with 24GB of RAM and 4GB of swap, however
it takes an hour in this kind of setup - that's why I've recorded a
video reproducing the issue on a VM with 4GB RAM/0GB swap.

I'll attach the video shortly.

Steps to reproduce:
1. Create a VM (arm64 with 4GB of RAM/0GB of swap running in UTM/MacBook M3 
Max; but I'm setting up an Ubuntu-on-Ubuntu x86-64 machine and I'll test the 
same thing there as well).
2. Install Ubuntu 25.10 (or install Ubuntu 25.04 and upgrade it to Ubuntu 25.10)
3. Run `htop` and `watch free` in two separate terminals.
4. Run `head -c 2G /dev/zero | tail | sleep 10` - it works
5. Now start alt-tabbing between terminal windows, or try moving the console 
window around with super+arrow keys, and observe the shared memory usage 
climbing up, both in `htop` and in `free`
6. After some time, re-run `head -c 2G /dev/zero | tail | sleep 10` and watch 
it crash

I've recorded my desktop and posted it on YouTube:
https://youtu.be/fFmwWh9LM84

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122654

Title:
  Ubuntu 25.10 uses increasingly lots of memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2122654/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to