It's often easier to replace the binary itself with a debug script. For example:
mv /usr/bin/gnome-shell /usr/bin/gnome-shell.bin Now create a new 'gnome-shell' file that's a script which launches gnome-shell.bin under a profiler/debugger, like: #!/bin/sh exec MYPROFILER $0.bin $* and remember to: chmod 755 /usr/bin/gnome-shell -- 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/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