Public bug reported: gnome-shell memory usage is getting worse every hour by exhausting more than 4 GB OF RAM and then getting frozen for some minutes till it get crashed without logging out the user (which means all my USER's running processes didn't get killed anyway and are being running in the background)
**free --giga --human**: ``` total used free shared buff/cache available Mem: 7.6G 4.0G 374M 351M 3.3G 3.0G Swap: 23G 117M 23G ``` **gnome-extensions list --enabled**: ``` unbl...@sun.wxg@gmail.com unlockdialogbackgro...@sun.wxg@gmail.com prevent-double-empty-win...@silliewous.nl user-th...@gnome-shell-extensions.gcampax.github.com workspace-indica...@gnome-shell-extensions.gcampax.github.com fq@megh caffe...@patapon.info no-overview@fthx arcm...@arcmenu.com noannoya...@daase.net quick-lang-swi...@ankostis.gmail.com primary_input_on_lockscr...@sagidayan.com lockk...@vaina.lt notification-posit...@drugo.dev favourites-in-appg...@harshadgavali.gitlab.org notification-banner-reloa...@marcinjakubowski.github.com date-menu-format...@marcinjakubowski.github.com auto-move-wind...@gnome-shell-extensions.gcampax.github.com recentit...@bananenfisch.net openweather-extens...@jenslody.de remove-alt-tab-de...@daase.net NotificationCounter@coolllsk workspace-switcher-mana...@g-dh.github.com screenshot-window-si...@gnome-shell-extensions.gcampax.github.com native-window-placem...@gnome-shell-extensions.gcampax.github.com notification-time...@chlumskyvaclav.gmail.com ubuntu-d...@ubuntu.com ubuntu-appindicat...@ubuntu.com d...@rastersoft.com ``` **ps auxw | grep gnome**: ``` USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND johnm 5474 0.0 0.0 242108 7204 ? SLl 03:15 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login johnm 5478 0.0 0.0 163440 6112 tty2 Ssl+ 03:15 0:00 /usr/libexec/gdm-wayland-session env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu johnm 5485 0.0 0.1 224196 15580 tty2 Sl+ 03:15 0:00 /usr/libexec/gnome-session-binary --session=ubuntu johnm 5546 0.0 0.0 92960 5104 ? Ssl 03:15 0:00 /usr/libexec/gnome-session-ctl --monitor johnm 5569 0.0 0.2 521284 17692 ? Ssl 03:15 0:00 /usr/libexec/gnome-session-binary --systemd-service --session=ubuntu johnm 5774 11.2 4.5 5446336 359844 ? Ssl 03:15 3:01 /usr/bin/gnome-shell johnm 5807 0.0 0.2 1059236 20344 ? Sl 03:15 0:00 /usr/libexec/gnome-shell-calendar-server johnm 5948 0.0 0.3 2670180 27068 ? Sl 03:15 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications johnm 5950 0.0 0.0 162676 7332 ? Sl 03:15 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session johnm 6014 0.5 2.6 868404 210992 ? Sl 03:15 0:08 /usr/bin/gnome-software --gapplication-service johnm 6216 0.0 0.3 2670180 26836 ? Sl 03:15 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver johnm 6283 0.0 0.4 670000 33288 ? Ssl 03:16 0:00 /usr/libexec/xdg-desktop-portal-gnome johnm 6286 0.1 1.0 3020104 78652 ? Sl 03:16 0:02 gjs /usr/share/gnome-shell/extensions/d...@rastersoft.com/ding.js -E -P /usr/share/gnome-shell/extensions/d...@rastersoft.com -M 0 -D 1280:0:1366:768:1:27:56:0:0:0 -D 0:0:1280:1024:1:0:56:0:0:1 johnm 7274 0.0 0.2 37388 19824 ? S 03:17 0:00 /usr/bin/python3 /usr/bin/gnome-terminal --wait johnm 7277 0.0 0.3 384004 27960 ? Sl 03:17 0:00 /usr/bin/gnome-terminal.real --wait johnm 7287 0.8 0.7 902128 59084 ? Ssl 03:17 0:13 /usr/libexec/gnome-terminal-server johnm 8027 0.0 0.0 3644 1100 ? S 03:23 0:00 bwrap --args 38 gnome-extensions-app johnm 8164 0.0 0.0 3768 1472 ? S 03:23 0:00 bwrap --args 38 gnome-extensions-app johnm 8165 0.0 0.0 7704 3224 ? S 03:23 0:00 /bin/sh /app/bin/gnome-extensions-app johnm 8166 0.4 1.8 3867112 141276 ? Sl 03:23 0:05 /usr/bin/gjs /app/share/gnome-extensions-app/org.gnome.Extensions johnm 8311 0.0 0.6 2912668 53152 ? Sl 03:23 0:01 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Extensions johnm 9499 0.0 0.4 207508 35856 ? Sl 03:25 0:00 /usr/bin/python3 /usr/bin/chrome-gnome-shell /usr/lib/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json chrome-gnome-sh...@gnome.org ``` **ps auxw | grep gjs**: ``` USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND johnm 5948 0.0 0.3 2670180 27068 ? Sl 03:15 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications johnm 6216 0.0 0.3 2670180 26836 ? Sl 03:15 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver johnm 6286 0.1 1.0 3020104 78652 ? Sl 03:16 0:02 gjs /usr/share/gnome-shell/extensions/d...@rastersoft.com/ding.js -E -P /usr/share/gnome-shell/extensions/d...@rastersoft.com -M 0 -D 1280:0:1366:768:1:27:56:0:0:0 -D 0:0:1280:1024:1:0:56:0:0:1 johnm 8166 0.4 1.8 3867112 141276 ? Sl 03:23 0:05 /usr/bin/gjs /app/share/gnome-extensions-app/org.gnome.Extensions johnm 8311 0.0 0.6 2912668 53152 ? Sl 03:23 0:01 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Extensions ``` **ps auxw | grep gdm**: ``` USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND root 2806 0.0 0.1 242376 9004 ? Ssl 03:12 0:00 /usr/sbin/gdm3 root 5259 0.0 0.2 214764 16928 ? SLl 03:14 0:00 gdm-session-worker [pam/gdm-password] johnm 5478 0.0 0.0 163440 6112 tty2 Ssl+ 03:15 0:00 /usr/libexec/gdm-wayland-session env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu ``` Monitors: ``` "Screens": [ { "Size": "340mmx190mm", "Resolution": "1360x768", "Frequency": "59.80" }, { "Size": "340mmx270mm", "Resolution": "1280x1024", "Frequency": "59.89" } ] ``` ---------- ## System Specifications * Operating System: Ubuntu 22.04 * Life cycle: LTS * Architecture: AMD64 * Gnome Version: 42.5 * Windowing System: Wayland * Kernel version (`uname -a`): 5.19.0-38 * Graphics: Mesa Intel® HD Graphics 4000 (IVB GT2) * Processor: Intel® Core™ i5-3230M CPU @ 2.60GHz × 4 * Memory: 8.0 GB DDR3 * gjs Version: 1.72.2-0ubuntu1 * gdm3 Version: 42.0-1ubuntu7.22.04.1 * Display Manager: gdm3 * gnome-software Version: 41.5-2ubuntu2 * gnome-shell Version: 42.5-0ubuntu1 ** Affects: gdm Importance: Undecided Status: New ** Affects: gjs Importance: Undecided Status: New ** Affects: gnome-shell Importance: Undecided Status: New ** Affects: gnome-software Importance: Undecided Status: New ** Tags: 22.04 amd64 crash gnome gnome-shell gnome-shell-crash gnome-shell-leak jammy leak memory memory-leak shell ubuntu ** Also affects: gnome-shell Importance: Undecided Status: New ** No longer affects: gnome-shell ** Also affects: gnome-software Importance: Undecided Status: New ** Also affects: gnome-shell Importance: Undecided Status: New ** No longer affects: gnome-shell (Ubuntu) ** Also affects: gjs Importance: Undecided Status: New ** Also affects: gdm Importance: Undecided Status: New ** Tags added: 22.04 amd64 jammy ubuntu -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2016330 Title: gnome-shell memory leak Status in gdm: New Status in gjs: New Status in GNOME Shell: New Status in GNOME Software: New Bug description: gnome-shell memory usage is getting worse every hour by exhausting more than 4 GB OF RAM and then getting frozen for some minutes till it get crashed without logging out the user (which means all my USER's running processes didn't get killed anyway and are being running in the background) **free --giga --human**: ``` total used free shared buff/cache available Mem: 7.6G 4.0G 374M 351M 3.3G 3.0G Swap: 23G 117M 23G ``` **gnome-extensions list --enabled**: ``` unbl...@sun.wxg@gmail.com unlockdialogbackgro...@sun.wxg@gmail.com prevent-double-empty-win...@silliewous.nl user-th...@gnome-shell-extensions.gcampax.github.com workspace-indica...@gnome-shell-extensions.gcampax.github.com fq@megh caffe...@patapon.info no-overview@fthx arcm...@arcmenu.com noannoya...@daase.net quick-lang-swi...@ankostis.gmail.com primary_input_on_lockscr...@sagidayan.com lockk...@vaina.lt notification-posit...@drugo.dev favourites-in-appg...@harshadgavali.gitlab.org notification-banner-reloa...@marcinjakubowski.github.com date-menu-format...@marcinjakubowski.github.com auto-move-wind...@gnome-shell-extensions.gcampax.github.com recentit...@bananenfisch.net openweather-extens...@jenslody.de remove-alt-tab-de...@daase.net NotificationCounter@coolllsk workspace-switcher-mana...@g-dh.github.com screenshot-window-si...@gnome-shell-extensions.gcampax.github.com native-window-placem...@gnome-shell-extensions.gcampax.github.com notification-time...@chlumskyvaclav.gmail.com ubuntu-d...@ubuntu.com ubuntu-appindicat...@ubuntu.com d...@rastersoft.com ``` **ps auxw | grep gnome**: ``` USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND johnm 5474 0.0 0.0 242108 7204 ? SLl 03:15 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login johnm 5478 0.0 0.0 163440 6112 tty2 Ssl+ 03:15 0:00 /usr/libexec/gdm-wayland-session env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu johnm 5485 0.0 0.1 224196 15580 tty2 Sl+ 03:15 0:00 /usr/libexec/gnome-session-binary --session=ubuntu johnm 5546 0.0 0.0 92960 5104 ? Ssl 03:15 0:00 /usr/libexec/gnome-session-ctl --monitor johnm 5569 0.0 0.2 521284 17692 ? Ssl 03:15 0:00 /usr/libexec/gnome-session-binary --systemd-service --session=ubuntu johnm 5774 11.2 4.5 5446336 359844 ? Ssl 03:15 3:01 /usr/bin/gnome-shell johnm 5807 0.0 0.2 1059236 20344 ? Sl 03:15 0:00 /usr/libexec/gnome-shell-calendar-server johnm 5948 0.0 0.3 2670180 27068 ? Sl 03:15 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications johnm 5950 0.0 0.0 162676 7332 ? Sl 03:15 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session johnm 6014 0.5 2.6 868404 210992 ? Sl 03:15 0:08 /usr/bin/gnome-software --gapplication-service johnm 6216 0.0 0.3 2670180 26836 ? Sl 03:15 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver johnm 6283 0.0 0.4 670000 33288 ? Ssl 03:16 0:00 /usr/libexec/xdg-desktop-portal-gnome johnm 6286 0.1 1.0 3020104 78652 ? Sl 03:16 0:02 gjs /usr/share/gnome-shell/extensions/d...@rastersoft.com/ding.js -E -P /usr/share/gnome-shell/extensions/d...@rastersoft.com -M 0 -D 1280:0:1366:768:1:27:56:0:0:0 -D 0:0:1280:1024:1:0:56:0:0:1 johnm 7274 0.0 0.2 37388 19824 ? S 03:17 0:00 /usr/bin/python3 /usr/bin/gnome-terminal --wait johnm 7277 0.0 0.3 384004 27960 ? Sl 03:17 0:00 /usr/bin/gnome-terminal.real --wait johnm 7287 0.8 0.7 902128 59084 ? Ssl 03:17 0:13 /usr/libexec/gnome-terminal-server johnm 8027 0.0 0.0 3644 1100 ? S 03:23 0:00 bwrap --args 38 gnome-extensions-app johnm 8164 0.0 0.0 3768 1472 ? S 03:23 0:00 bwrap --args 38 gnome-extensions-app johnm 8165 0.0 0.0 7704 3224 ? S 03:23 0:00 /bin/sh /app/bin/gnome-extensions-app johnm 8166 0.4 1.8 3867112 141276 ? Sl 03:23 0:05 /usr/bin/gjs /app/share/gnome-extensions-app/org.gnome.Extensions johnm 8311 0.0 0.6 2912668 53152 ? Sl 03:23 0:01 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Extensions johnm 9499 0.0 0.4 207508 35856 ? Sl 03:25 0:00 /usr/bin/python3 /usr/bin/chrome-gnome-shell /usr/lib/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json chrome-gnome-sh...@gnome.org ``` **ps auxw | grep gjs**: ``` USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND johnm 5948 0.0 0.3 2670180 27068 ? Sl 03:15 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications johnm 6216 0.0 0.3 2670180 26836 ? Sl 03:15 0:00 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver johnm 6286 0.1 1.0 3020104 78652 ? Sl 03:16 0:02 gjs /usr/share/gnome-shell/extensions/d...@rastersoft.com/ding.js -E -P /usr/share/gnome-shell/extensions/d...@rastersoft.com -M 0 -D 1280:0:1366:768:1:27:56:0:0:0 -D 0:0:1280:1024:1:0:56:0:0:1 johnm 8166 0.4 1.8 3867112 141276 ? Sl 03:23 0:05 /usr/bin/gjs /app/share/gnome-extensions-app/org.gnome.Extensions johnm 8311 0.0 0.6 2912668 53152 ? Sl 03:23 0:01 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Extensions ``` **ps auxw | grep gdm**: ``` USER PR NI VIRT RES SHR %CPU %MEM TIME+ COMMAND root 2806 0.0 0.1 242376 9004 ? Ssl 03:12 0:00 /usr/sbin/gdm3 root 5259 0.0 0.2 214764 16928 ? SLl 03:14 0:00 gdm-session-worker [pam/gdm-password] johnm 5478 0.0 0.0 163440 6112 tty2 Ssl+ 03:15 0:00 /usr/libexec/gdm-wayland-session env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu ``` Monitors: ``` "Screens": [ { "Size": "340mmx190mm", "Resolution": "1360x768", "Frequency": "59.80" }, { "Size": "340mmx270mm", "Resolution": "1280x1024", "Frequency": "59.89" } ] ``` ---------- ## System Specifications * Operating System: Ubuntu 22.04 * Life cycle: LTS * Architecture: AMD64 * Gnome Version: 42.5 * Windowing System: Wayland * Kernel version (`uname -a`): 5.19.0-38 * Graphics: Mesa Intel® HD Graphics 4000 (IVB GT2) * Processor: Intel® Core™ i5-3230M CPU @ 2.60GHz × 4 * Memory: 8.0 GB DDR3 * gjs Version: 1.72.2-0ubuntu1 * gdm3 Version: 42.0-1ubuntu7.22.04.1 * Display Manager: gdm3 * gnome-software Version: 41.5-2ubuntu2 * gnome-shell Version: 42.5-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/gdm/+bug/2016330/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp