[Bug 1672297] Re: gnome-shell uses lots of memory, and grows over time
3952 KiB extra memory usage by gnome-shell when I change window of kitty (terminal). Two megabytes for one press of alt-tab! 🫣 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gjs in Ubuntu. https://bugs.launchpad.net/bugs/1672297 Title: gnome-shell uses lots of memory, and grows over time To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1672297/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1672297] Re: gnome-shell uses lots of memory, and grows over time
Regarding continually increasing Pss_Shmem, diffing numa_maps has these... Can these glfw mappings be reason for the increased memory usage? 59d20d348000 default file=/usr/bin/gnome-shell anon=1 dirty=1 active=0 N0=1 kernelpagesize_kB=4 59d20d988000 default heap anon=26945 dirty=26945 active=0 N0=26945 kernelpagesize_kB=4 -775066988000 default file=/memfd:glfw-shared\040(deleted) dirty=234 mapmax=2 active=0 N0=234 kernelpagesize_kB=4 +775064ebb000 default file=/memfd:glfw-shared\040(deleted) dirty=231 mapmax=2 active=0 N0=231 kernelpagesize_kB=4 +775065042000 default file=/memfd:glfw-shared\040(deleted) dirty=240 active=0 N0=240 kernelpagesize_kB=4 +7750651c9000 default file=/dev/dri/card0 +7750655c9000 default file=/memfd:glfw-shared\040(deleted) dirty=233 active=0 N0=233 kernelpagesize_kB=4 +77506575 default file=/memfd:glfw-shared\040(deleted) dirty=242 active=0 N0=242 kernelpagesize_kB=4 +7750658d7000 default file=/memfd:glfw-shared\040(deleted) dirty=235 active=0 N0=235 kernelpagesize_kB=4 +775065a5e000 default file=/memfd:glfw-shared\040(deleted) dirty=228 active=0 N0=228 kernelpagesize_kB=4 +775065be5000 default file=/dev/dri/card0 +775065fe5000 default file=/memfd:glfw-shared\040(deleted) dirty=237 mapmax=2 active=0 N0=237 kernelpagesize_kB=4 +77506616c000 default file=/memfd:glfw-shared\040(deleted) dirty=246 active=0 N0=246 kernelpagesize_kB=4 +7750662f3000 default file=/memfd:glfw-shared\040(deleted) dirty=240 active=0 N0=240 kernelpagesize_kB=4 +77506647a000 default file=/memfd:glfw-shared\040(deleted) dirty=232 active=0 N0=232 kernelpagesize_kB=4 +77506667a000 default file=/memfd:glfw-shared\040(deleted) dirty=232 active=0 N0=232 kernelpagesize_kB=4 +775066801000 default file=/memfd:glfw-shared\040(deleted) dirty=241 active=0 N0=241 kernelpagesize_kB=4 +775066988000 default file=/memfd:glfw-shared\040(deleted) dirty=234 active=0 N0=234 kernelpagesize_kB=4 775066b0f000 default file=/memfd:glfw-shared\040(deleted) dirty=227 active=0 N0=227 kernelpagesize_kB=4 -775066c96000 default file=/dev/dri/card0 +775066d88000 default file=/memfd:glfw-shared\040(deleted) dirty=234 active=0 N0=234 kernelpagesize_kB=4 +775066f0f000 default file=/memfd:glfw-shared\040(deleted) dirty=227 active=0 N0=227 kernelpagesize_kB=4 775067096000 default file=/memfd:glfw-shared\040(deleted) dirty=236 active=0 N0=236 kernelpagesize_kB=4 77506721d000 default file=/memfd:glfw-shared\040(deleted) dirty=245 active=0 N0=245 kernelpagesize_kB=4 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gjs in Ubuntu. https://bugs.launchpad.net/bugs/1672297 Title: gnome-shell uses lots of memory, and grows over time To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1672297/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1672297] Re: gnome-shell uses lots of memory, and grows over time
I have 32 GiB RAM. Oct 03 16:21:10 kernel: Out of memory: Killed process 448186 (gnome- shell) total-vm:17570844kB, anon-rss:336828kB, file-rss:2548kB, shmem- rss:7665392kB, UID:500 pgtables:28128kB oom_score_adj:200 Running with gnome-shell 43.0 and gjs-1.74.0: 21d6240-7ffe2b9a2000 ---p 00:00 0 [rollup] Rss: 4645900 kB Pss: 4625270 kB Pss_Anon: 347040 kB Pss_File: 9415 kB Pss_Shmem: 4268815 kB Shared_Clean: 12584 kB Shared_Dirty: 20184 kB Private_Clean: 7368 kB Private_Dirty: 4605764 kB Referenced: 4002232 kB Anonymous:347040 kB LazyFree: 0 kB AnonHugePages:133120 kB ShmemPmdMapped:0 kB FilePmdMapped: 0 kB Shared_Hugetlb:0 kB Private_Hugetlb: 0 kB Swap: 0 kB SwapPss: 0 kB Locked:0 kB -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gjs in Ubuntu. https://bugs.launchpad.net/bugs/1672297 Title: gnome-shell uses lots of memory, and grows over time To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1672297/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1806257] Re: gnome-shell excessive logging cannot bind to x11-unix
gnome-shell's failure to bind can also be caused by namespace.conf settings, currently gdm/gnome-shell etc do not take this into account, breaking gdm which worked fine without wayland. https://manpages.ubuntu.com/manpages/trusty/man5/namespace.conf.5.html Now, if you have in that file: /tmp/tmp/tmp-inst/ userroot,adm gdm etc write their files to /tmp/.X0-lock /tmp/.X11-unix/ and so on, but gnome-shell tries to open the files at /tmp/tmp-inst/luser/.X11-unix/ (after private namespaces have been polyinstantiated). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1806257 Title: gnome-shell excessive logging cannot bind to x11-unix To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1806257/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs