Is Nemo 1.1.2 leaking memory?

Questions about applications and software
Forum rules
Before you post please read this

Is Nemo 1.1.2 leaking memory?

Postby oscarus on Wed Jan 16, 2013 7:49 pm

I'm running Linux Mint 14 (Cinnamon,64-bit) and I've noticed that Nemo has a tendency to use more and more memory every time I perform certain actions such as opening new windows or emptying the trash. Nemo usually starts using around 25Mb, but the number keeps rising, and after a few days of doing some basic file managing tasks (I don't deal with huge files or folders, smb transfers, or lots of thumbnails) the memory jumps to around 300Mb and higher.

I tried to replicate my problem in this video to give you an idea of what happens when I open and close a folder:
http://www.youtube.com/watch?v=eCYEZLBTt5c
(notice that closing windows doesn't free any memory)

So my questions are:
    Is this normal?
    Is this something I should be worried about?
    Is anyone else experiencing similar things?
    I read a bit about memory usage (stuff like linuxatemyram.com) but I'm not sure if that's related to this... Does this behavior have anything to do with some weird caching stuff or something like that?
    Is there a possibility that gtk+ themes or icons could have something to do with this? I was using the faience theme but switched to Mint-x because it was making the memory use worse.

I'd really appreciate any help or information regarding this issue.

On an additional note, I just restarted my laptop (right after I recorded that video) and noticed that cinnamon is using a lot less memory than what is shown in the video (it's using 90MB now vs the 254 MB in the video) but I wasn't as concerned about it because takes cinnamon a while to reach that compared to nemo.
oscarus
Level 1
Level 1
 
Posts: 4
Joined: Sat Dec 01, 2012 6:43 pm

Linux Mint is funded by ads and donations.
 

Re: Is Nemo 1.1.2 leaking memory?

Postby Admiral_Obvious on Fri Feb 08, 2013 4:09 pm

I can confirm this behavior.

I'm running Linux Mint 13 (Cinnamon, 64-bit) with backports enabled. At this point, with an uptime of 8 days, and a bunch of appications open, nemo is up to 4.5 gigs of my 8 gigs of ram, and is using about 100% of one of my 4 cores. I noticed the problem when nemo started to get slow.

My configuration is pretty vanilla, I've added a few things here and there, but the only thing [that I can think of] which would affect nemo was adding RabbitVCS for svn, using the procedure here:
http://codemonkeymagic.blogspot.com/201 ... n-and.html

I'm not sure it it is related, but I also noticed that the output of ps aux --sort -%mem does not agree with what gnome system monitor displays, insofar as CPU% for nemo and /usr/bin/cinnamon
(ps aux --sort -%mem shows /usr/bin/cinnamon as using 79% of the CPU, and shows nemo as only using 0.8% (see the top 10 lines of output below), yet gnome system monitor at approximately the same time listed nemo as taking 96%, and cinnamon around 48%.

Output of ps aux --sort -%mem:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
goodwc3 6331 0.8 57.3 6634048 4666328 ? Rl Jan31 108:15 nemo
root 5304 7.3 9.6 758152 785328 tty7 Rs+ Jan31 915:44 /usr/bin/X :0 -audit 0 -auth /var/lib/mdm/:0.Xauth -nolisten tcp vt7
goodwc3 9987 1.6 8.6 1841280 702892 ? Sl Jan31 210:02 /usr/lib/firefox/firefox
goodwc3 5448 79.8 2.7 2039532 226348 ? Rl Jan31 9904:47 /usr/bin/cinnamon
goodwc3 5535 0.0 1.3 870476 112060 ? S Jan31 0:47 /usr/bin/python /usr/lib/pymodules/python2.7/rabbitvcs/services/checkerservice.pyc
goodwc3 10802 1.2 0.8 1006424 66868 ? Sl Jan31 153:37 /usr/lib/firefox/plugin-container /opt/mint-flashplugin-11/libflashplayer.so -greomni /usr/lib/firefox/omni.ja 9987 true plugin
goodwc3 7169 0.0 0.7 1036436 62972 ? Sl 03:01 0:05 evince /tmp/oe-17-10-8246-1.pdf
goodwc3 5637 0.0 0.6 450444 55020 ? Sl Jan31 1:08 gnome-screensaver
goodwc3 20459 1.3 0.5 505184 44056 ? Sl 15:00 0:06 eog /home/goodwc3/Pictures/Screenshot from 2013-02-01 12:58:31.png
goodwc3 18861 0.1 0.4 1916064 34172 ? Ssl Jan31 23:40 /home/goodwc3/.dropbox-dist/dropbox
goodwc3 20737 0.0 0.3 1623464 27048 ? Sl Jan31 6:37 /usr/lib/libreoffice/program/soffice.bin --writer --splash-pipe=6
goodwc3 5464 0.0 0.3 1457920 26352 ? Sl Jan31 3:14 nautilus -n
goodwc3 31901 0.0 0.2 1171432 21684 ? Sl 02:30 0:09 evince /tmp/1-s2.0-S016943321101573X-main.pdf
goodwc3 2610 0.0 0.2 568176 20416 ? Sl Feb04 0:07 gnome-terminal


for good measure, here's the output of inxi -Fc 0

System: Host: goodwc3-ThinkPad-W530 Kernel: 3.2.0-23-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 13 Maya
Machine: System: Dell product: Vostro 430 version: 00
Mobo: Dell model: 054KM3 version: A01 Bios: Dell version: 2.0.3 date: 03/15/2010
CPU: Quad core Intel Core i5 CPU 750 (-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)
Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz 3: 2668.00 MHz 4: 1200.00 MHz
Graphics: Card: Advanced Micro Devices [AMD] nee ATI Juniper [Radeon HD 5700 Series]
X.Org: 1.11.3 driver: fglrx Resolution: 2560x1440@60.0hz, 2560x1440@60.0hz
GLX Renderer: ATI Radeon HD 5700 Series GLX Version: 4.2.11627 - CPC
Audio: Card-1: Intel 5 Series/3400 Series Chipset High Definition Audio driver: snd_hda_intel Sound: ALSA ver: 1.0.24
Card-2: Advanced Micro Devices [AMD] nee ATI Juniper HDMI Audio [Radeon HD 5700 Series] driver: snd_hda_intel
Network: Card: Broadcom NetLink BCM57780 Gigabit Ethernet PCIe driver: tg3
IF: eth1 state: up speed: 100 Mbps duplex: full mac: a4:ba:db:fb:bd:9a
Drives: HDD Total Size: 500.1GB (10.9% used) 1: /dev/sda ST95005620AS 500.1GB
Partition: ID: / size: 25G used: 5.8G (25%) fs: ext4 ID: /boot size: 109M used: 34M (33%) fs: ext4
ID: /home size: 257G used: 45G (19%) fs: ext4 ID: swap-1 size: 17.83GB used: 2.28GB (13%) fs: swap
Sensors: Error: You do not have the sensors app installed.
Info: Processes: 198 Uptime: 8 days Memory: 7703.6/7945.8MB Client: Shell inxi: 1.7.33

I'll be interested to hear if there is a fix.

Best Regards!
Admiral_Obvious
Level 1
Level 1
 
Posts: 1
Joined: Fri Feb 08, 2013 3:12 pm

Re: Is Nemo 1.1.2 leaking memory?

Postby LittleRed on Sat Feb 16, 2013 9:50 am

I'm having the same problem, only Nemo chews up 3.5GB of memory (and a high CPU for about 10 seconds) when you first start it.

I discovered that it seemed to do it only when using a custom GTK theme. Changing the GTK theme back to default solved the problem.
LittleRed
Level 1
Level 1
 
Posts: 1
Joined: Sat Feb 16, 2013 9:45 am


Return to Software & Applications

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 14 guests