[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-05-18 Thread Daniel van Vugt
cmpilato,

To avoid confusing symptoms between various peoples' machines please
open your own bug by running:

  ubuntu-bug gnome-shell


** Information type changed from Public to Private

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-05-18 Thread C. Michael Pilato
I meant to say, "I have *no* extensions installed that don't..."

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-05-18 Thread C. Michael Pilato
I'm also seeing a steady growth in gnome-shell's memory usage over time.  I 
have extensions installed that don't appear to be required by Ubuntu 20.04 
(meaning if I try to 'apt remove'
them, apt wants to remove 'ubuntu-deskop', too).

Here's the listing of my relevant extensions directories:

$ ls -l /usr/share/gnome-shell/extensions/
total 12
drwxr-xr-x 2 root root 4096 Apr 27 09:35 'desktop-icons@csoriano'/
drwxr-xr-x 3 root root 4096 Apr 27 09:28 'ubuntu-appindicat...@ubuntu.com'/
drwxr-xr-x 3 root root 4096 Apr 27 09:31 'ubuntu-d...@ubuntu.com'/
$ ls -l ~/.local/share/gnome-shell/extensions/
total 0
$ 

Over time I find that gnome-shell's reported memory usage per 'top' steadily 
climbs.
Today it was showing 3.1g before I finally logged out of the machine and back 
in again.
I wish I had more information to share, but at this time, I don't.  Will report 
back
if/when I do, though.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-05-14 Thread Daniel van Vugt
** Tags removed: leak
** Tags added: gnome-shell-leak

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-04-27 Thread Daniel van Vugt
** Bug watch removed: gitlab.gnome.org/GNOME/gjs/issues #217
   https://gitlab.gnome.org/GNOME/gjs/issues/217

** Bug watch removed: gitlab.gnome.org/GNOME/gnome-shell/issues #1886
   https://gitlab.gnome.org/GNOME/gnome-shell/issues/1886

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-04-25 Thread Robert
Which extensions would you consider the default Ubuntu ones?

I'm not finding memory usage lower in 20.04 -- I was at over 1.4G RSS
earlier today before I rebooted.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-03-23 Thread Daniel van Vugt
Please also remember to keep all extensions uninstalled while
investigating leaks. We don't want to spend time finding leaks in
extensions unless they happen to be the default Ubuntu ones.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-03-23 Thread Daniel van Vugt
It would be hard to prove that's a bug at all, or just the natural
resident set size that the gnome-shell process settles at until the next
garbage collection. And you can't predict or know when that will happen.

Generally speaking for gnome-shell I would say anything under 500MB
might not be a leak. It might just be "normal" JavaScript garbage
accumulation. Or it might be an asymptotic leak. Either way, not yet a
priority.

While we'd all like gnome-shell to always use less memory, whether this
is a bug yet particularly in 20.04 where the memory usage is lower, is
unclear. If you are able to repeat some steps many times and get 20.04
past 500MB and then 1000MB then I would consider it a leak worth
investigating.


** Changed in: gnome-shell (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-03-23 Thread Daniel van Vugt
** Tags added: focal

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-03-23 Thread Balazs Pere
In Ubuntu 20.04 (with the newest packages) the leak is present. After
logging in the memory usage of gnome-shell is 208MB. After pushing
Super+A it jumps to 213MB and stay there. After lock/unlock the screen
it jumps to 270MB and stays there. Repeated Super+A and lock/unlock
seems to do no further changes. After launching firefox it jumps to
290MB and stays there. Closing firefox and launching it again it jumps
to 300MB and stasy there. Repeatedly launching firefox (and other apps
like terminal, files, settings, etc.) seems to do just small ~100-500kB
jumps. Now it sits on 306MB.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-03-12 Thread Daniel van Vugt
** Tags added: leak

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-01-19 Thread Daniel van Vugt
No, gnome-shell#1886 is being tracked in Launchpad bug 1856838 already,
which is more appropriate than here.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2020-01-18 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gnome-shell (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2019-12-29 Thread Daniel van Vugt
** Description changed:

- Many times after logging in gnome-shell uses 600-800kB of memory, and
+ Many times after logging in gnome-shell uses 600-800MB of memory, and
  also slows down quite a bit (e.g., 20-30 seconds waiting for login).
  Only after multiple resets (Alt+F2 r) drops the memory usage below
- 200kB. I use my computer mainly for work, and the above phenomenon is
+ 200MB. I use my computer mainly for work, and the above phenomenon is
  quite disturbing. After a couple of hours of work memory usage is
- growing over 400kB again, and sometimes the reset (Alt+F2 r) doesn't
+ growing over 400MB again, and sometimes the reset (Alt+F2 r) doesn't
  help either. My system is Ubuntu 18.04.3 Gnome 3.28.2, but the newest
  Ubuntu also behaves similarly. This is an old issue, it was present in
  18.04, 18.10, 19.04 and now in 19.10. I use three computers, and all of
  them suffer with this problem. Anyone can check this with the "gnome-
  shell memory monitor"  gnome-shell extension.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gnome-shell 3.28.4-0ubuntu18.04.2
  ProcVersionSignature: Ubuntu 5.0.0-32.34~18.04.2-generic 5.0.21
  Uname: Linux 5.0.0-32-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: amd64
  CurrentDesktop: communitheme:ubuntu:GNOME
  Date: Mon Oct 28 20:28:38 2019
  DisplayManager: gdm3
  InstallationDate: Installed on 2019-01-04 (297 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  SourcePackage: gnome-shell
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2019-11-22 Thread Balazs Pere
Here is a similar issue:
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1886

** Bug watch added: gitlab.gnome.org/GNOME/gnome-shell/issues #1886
   https://gitlab.gnome.org/GNOME/gnome-shell/issues/1886

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2019-11-22 Thread Balazs Pere
I'm trying to catch that function(s) which leaks the memory, but
unfortunately I am not an expert. Can anyone help me what to do? I
copied /usr/bin/gnome-shell to /usr/bin/gnome-shell.bin and made a
script in /usr/bin/gnome-shell:

#!/bin/sh
if [ $USER = gstest ] ; then exec valgrind --tool=massif --num-callers=500 
--massif-out-file=/tmp/massif.out.%p 
--log-file=/tmp/gnome-shell.valgrind.log.%p $0.bin $* ; fi
exec $0.bin $*

after that I logged in as gstest and watched the valgrind output with
massif-visualizer. But I don't know how to control the frequency of
writing out the massif.out.pid file? This file was wrote out couple
minutes after logging in, but after that nothing was written out for
hours. It would be better to see continuously what is happening when I
e.g. push Super+A.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2019-11-03 Thread Balazs Pere
What does it mean "doesn't free memory immediately"? Hours? Days? I never 
experienced decrease in memory usage, except for small fluctuations. I think it 
is a memory leak added to this slow garbage collection.
I also wrote about this problem to 
https://gitlab.gnome.org/GNOME/gjs/issues/217# but the guys there suggested me 
to report a bug here, because they thoght that this is not a garbage collection 
issue.
And it seems to me that gnome-shell or gjs is leaking without the extensions 
too.

** Bug watch added: gitlab.gnome.org/GNOME/gjs/issues #217
   https://gitlab.gnome.org/GNOME/gjs/issues/217

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2019-10-31 Thread Daniel van Vugt
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
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2019-10-31 Thread Balazs Pere
The main system which I use for work is Ubuntu 18.04.3 LTS. I use gnome with 
many extensions (see above). At the beginning the memory usage of gnome-shell 
is ~177MB. (Interesting that in another machine, which is a laptop and has 
exactly the same system and almost the same hardware, gnome-shell uses ~150MB 
at the beginning) During my work (using e.g. Octave, LyX, Chrome) the memory 
usage of gnome-shell is increasing continuously, but when I restart gnome-shell 
with "Alt+F2 r ", after some time the memory usage doesn't drop to the 
original value, but ramains at a higher value, which is approx. 200-250MB. This 
value is slowly increasing. I assume that there is a memory leak somewhere in 
gnome-shell or gjs (or somewhere else), but only a portion of the leaked memory 
can be freed with "Alt+F2 r ".
I tried to watch what causes the jumps in memory usage, but coudn't figure out 
it. Sometimes e.g. locking-unlocking the screen, but sometime it seems to be 
random.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1850201] Re: Memory usage grows when locking/unlocking the screen

2019-10-31 Thread Balazs Pere
Yes, MB, not kB.
Today I made a new test. I logged in (ubuntu 19.10 on virtualbox, normal ubuntu 
session) and started the gnome-system-monitor to see what is happening. The 
memory usage of gnome-shell was ~202MB at the beginning. I locked the session, 
and unlocked it. The memory usage jumped to ~225MB. A lock and unlocked again, 
the result was ~226MB. Further lock-unlock action made only small, less than 
1MB growings. After that a did nothing, left the system untouched. After an 
hour the memory usage was ~260MB.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs