gnome-shell (via gjs and mozjs) actually doesn't free memory immediately when JavaScript objects get deleted. It defers the garbage collection until more stress (more memory use) is put on the system.
What this means is even without any leaks it will appear to grow for some period of time before shrinking again. So you might have a leak here, but also it will look like it's leaking even when it's not in the long term :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1850201 Title: Memory usage grows when locking/unlocking the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1850201/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs