← Back to team overview

desktop-packages team mailing list archive

[Bug 890441] Re: nautilus memory leak

 

ok, so trying on an oneiric system there nautilus starts around 16mb and
is still using that after 15 minutes, so it's clearly not all systems

something else you can try is to change nautilus to not display the background:
- run gsettings set org.gnome.desktop.background show-desktop-icons false
- then run nautilus --quit
- then run nautilus in valgrind, that will open a browser window, let it open for 5 minutes then close it, that should quit nautilus since it's not displaying the background and no view is kept open
- then attach the valgrind log to the bug

getting a log this way might be better since nautilus will be closed
"properly" there which will let valgrind get a better summary or what
memory was freed as it should (if you stop it with --quit or ctrl-C you
might prevent some callbacks to run which will change the summary)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/890441

Title:
  nautilus memory leak

Status in “nautilus” package in Ubuntu:
  Incomplete

Bug description:
  There are other bug reports with this description, but they are either
  3-4 years old, or closed, or invalid, or expired.

  I'm not doing anything exotic, but after about an hour or two of using
  my system (not even copying or moving files, or thumbnailing, or...)
  memory usage in nautilus goes up to 1.4G or so. When I kill this task,
  re-launch nautilus, it sits happily on just a few hundred meg... and
  then begins to grow again.

  It also takes a LONG time to start up, and the system is very
  unresponsive meanwhile... like 20 seconds. This may be a useful clue?

  I tried to do a valgrind report, but it makes nautilus so slow as to
  be unusable -- like 2 minutes to open a folder on the desktop... so I
  couldn't exactly "use it normally" to get a good log. Nonetheless,
  here's a log I did capture.

  I trust that the data captured by ubuntu-bug will have my library
  versions, cpu type, RAM info, etc. Please let me know what else I can
  provide. Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: nautilus 1:3.2.1-0ubuntu3.1
  ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
  Uname: Linux 3.0.0-13-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Mon Nov 14 15:51:46 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110802.1)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nautilus
  UpgradeStatus: Upgraded to oneiric on 2011-08-17 (88 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/890441/+subscriptions


References