Oh, sorry for not checking that. I had fully updated my system at the
time, but it appears that at some point linux-image-generic got
uninstalled, meaning I didn't get the latest kernel. This is now fixed
and I'm running the latest kernel. Unfortunately, I'm still able to
reproduce the issue, see below:

```
skia@kiffex:~
❯ uname -rv
6.14.0-13-generic #13-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 26 22:00:40 UTC 2025

skia@kiffex:~
❯ systemd-run --scope -p MemoryMax=1M --user leak-memory
Running as unit: run-p13088-i13089.scope; invocation ID: 
29c346a86c144d379eaf7eae17604072
Starting memory consumption in 1.00 MiB steps to maximum 42.0 TiB.
Allocated 10.0 MiB.
Allocated 20.0 MiB.
Allocated 30.0 MiB.
...
Allocated 460.0 MiB.
Allocated 470.0 MiB.
zsh: killed     systemd-run --scope -p MemoryMax=1M --user leak-memory

skia@kiffex:~ took 2s
❌137 ❯
```

** Changed in: linux (Ubuntu)
       Status: Incomplete => New

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

Title:
  cgroup: weird calculation for memory limit

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


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

Reply via email to