LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 03-26-2015, 11:29 AM   #1
Ivan Castro
LQ Newbie
 
Registered: Mar 2015
Posts: 9

Rep: Reputation: Disabled
Unhappy nemo uses so much memory and cpu


Hi to all, Some days ago I realized that my laptop going so slow (taking into account that it is COREi7 2ng Gen with 8GB RAM) and hot. And checking with the top command I found that some command called 'nemo' is using ~73% of CPU and ~50% of memory. What can I do here?

Other info:
OS: Linux Mint 17.1 Cinnamon 64-bit
Cinnamon version: 2.4.6
Linux kernel: 3.13.0-37-generic
Processor Intel Core i7-2630QM CPU @ 2.00 GHz x 4
Memory 7.7GiB
Hard Drive 606.9 GB
Graphics card: Intel corporation 2nd generation core processor family integrated graphics controller
PC: Toshiba Satellite serie P755
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2015-03-26 11:08:59.jpg
Views:	64
Size:	207.1 KB
ID:	17908  
 
Old 03-26-2015, 01:25 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Nemo is the name of your file manager. It may be possible to see behavior like you describe when you open a folder that contains a large number of images or videos. Nemo will try to create thumbnails of the videos, which can need a lot of resources.
 
Old 03-28-2015, 05:51 PM   #3
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Try the following command to display your thumbnail usage
Code:
du -sh ~/.cache/thumbnails
If this is very large your can delete thumbnails as you wish...
Thumbnails are not automatically removed when a file is deleted or renamed or otherwise altered.

I run a daily crontab job to remove all thumbnails which are more than 15 days old - nemo will recreate them if it needs to.
Code:
find ~/.cache/thumbnails -type f -atime +15 -exec rm '{}' \;

Last edited by JeremyBoden; 03-28-2015 at 05:54 PM.
 
1 members found this post helpful.
Old 04-06-2018, 01:21 PM   #4
treii28
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
say wha?

I'm confused. He says his issue is cpu usage and you tell him to delete thumbnail files? If his problem was disk usage, that would make sense.

I have similar cpu usage issues with nemo constantly and it is so bad I venture as often as possible to kill all nemo processes and use nautilus instead. Every time I research the issues I find nothing but a bunch of if-maybe-might-be-possibly type suggestions that never seem to stop it entirely.

It's easier to me when that's the case (and the cinnamon dev and or nemo dev doesn't see a filemanager spinning out of control and gobbling up 100%+ of system resources as a significant enough problem to fix) to use something else.

> sudo pkill nemo

If your desktop icons suddenly vanish, nemo was handling your desktop also.
click on Menu, type in 'nautilus' - click the file cabinet icon. Enjoy!
If you hear your hard drive caching again and run top to find out nemo snuck back in again, and/or notice the sudden doubling of content on your desktop, repeat the process. You'll have far less headaches in the long run.

SW
 
Old 04-06-2018, 05:48 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Member since 2008, and this drags you out to respond. Must really have pissed you off treii28 ...
Largely whistling in the wind without real data - for example it's possible some malformed data (even a single thumbnail ) could be causing it to loop. Getting rid of nemo sounds a good way to go. But I see a Cinnamon tag assigned - so any update is likely to bring it back.

How is file indexing done in Cinnamon ?.
 
Old 04-06-2018, 06:17 PM   #6
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Note that this is an old thread (started over 3 years ago).
I don't currently get any problems with nemo in 2018 - although it was a problem a few years back.
 
Old 04-06-2018, 08:00 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Thanks - didn't notice.
 
Old 08-04-2020, 03:46 AM   #8
surruk51
LQ Newbie
 
Registered: Jun 2018
Posts: 1

Rep: Reputation: Disabled
I am STILL having problems with nemo-desktop taking enormous amounts of resource (up to 50% CPU) even when nothing at all is happening. Linux Mint 19. However, clearing out old thumbnails seems to have made a difference. I have also recently been scanning a lot of old photos, which would presumably result also in lots of thimbnails. Not sure why this would affect CPU usage, but on the face of it there appears to be a correlation.
 
1 members found this post helpful.
Old 08-04-2020, 04:46 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
There's an obvious solution. If this file manager behaves so badly, don't use it. There are plenty of alternatives.
 
Old 08-04-2020, 05:49 AM   #10
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
nemo has been upgraded a couple of months ago - maybe that would fix a 5 year old problem.
 
Old 04-26-2021, 10:09 AM   #11
Toadbrooks
Member
 
Registered: Jul 2008
Distribution: Linux Mint 16
Posts: 83

Rep: Reputation: 11
Still is a problem for me ...

I have a 6 core machine with 16 gigs of memory running Linux Mint 19. Top shows nemo-desktop running between 78 and 100 %, which presumably is most of one whole core. Memory usage claimed: VIRT 20.381g RES 0.011t SHR 10976 %MEM 71.0 These numbers are appalling to me. Can the nemo-desktop process really be using 125% of the entire memory in my computer (recognizing that almost half of that is virtual memory, but still a problem affecting swap usage.) The only good thing I can say is that my CPU is not running hot (at least I don't consider 45 degrees C as particularly hot.)

Personally, I appreciate JeremyBoden comment regarding thumbnails. Looking in my thumbnails/normal folder, I see 24,760 entries, plus another 15,766 in the subfolder fail/gnome-thumbnail-factory.

I have five RAID5 file servers on my network, totalling just over 34 terabytes. I assume this collection of thumbnails is because of access to the servers.

Is there any way to limit the creation of all these thumbnails? I created the crontab process as specified, but I assume that won't stop nemo from continuing to create new ones. My default folder view is List, so I'm really not interested in creation of thumbnails, possibly excepting my pictures folder.

Hazel suggested switching file managers. Do you have one to suggest, or is that just like Microsoft techs who's first suggestion is always, "Did you reboot?" Treii28 suggests nautilus. Is there any reason to believe it would create less icons, or at least use less CPU power in doing so, or otherwise affect the issue?

I also plan on building a computer and running MXLinux on it. MxLinux uses Xcfe. I have no reason to believe it will solve the problem, but being a mid-grade OS, as opposed to everything-but-the-kitchen-sink, it might help. Comments on this would be appreciated, even if they are, "Did you check to see if it's plugged in?"

Thanks!

Last edited by Toadbrooks; 04-26-2021 at 10:26 AM. Reason: addition
 
Old 04-26-2021, 10:18 AM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Quote:
Originally Posted by Toadbrooks View Post
Hazel suggested switching file managers. Do you have one to suggest, or is that just like Microsoft techs who's first suggestion is always, "Did you reboot?"
I must admit I'm rusty on graphical file managers. I haven't used one for years on my main machine. I do all my file management on the command line because it's so much quicker. Why should I sit twiddling my thumbs while a program translates a load of plain text (which is what filenames are after all) into a pretty picture that I have to scroll up and down to read?

I have AntiX on my laptop and that runs rox-filer which is pretty snappy. It can manage your desktop too.
 
Old 04-26-2021, 10:28 AM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Anyone tried Thunar? I once started using it and since it does what I want I keep using it. I'm not picky about software, but if there is anything better I will switch.
 
Old 04-26-2021, 01:49 PM   #14
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
If you want to configure nemo, this is easy
From a nemo window, try edit -> preferences -> preview and change some values
The following works for me:-
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2021-04-26 19-47-45.png
Views:	125
Size:	48.9 KB
ID:	36243  
 
Old 04-26-2021, 02:20 PM   #15
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48
Quote:
Originally Posted by Emerson View Post
Anyone tried Thunar? I once started using it and since it does what I want I keep using it. I'm not picky about software, but if there is anything better I will switch.
Ck thunar for cpu and then try pcmanfm. It's small and fast too.
 
  


Reply

Tags
cinnamon, cpu, memory, mint



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a dual-core CPU and 2x1G memory,but only a core and 1G memory work(debian) tomtforever Linux - Hardware 3 07-04-2008 09:39 AM
CPU and Memory information DavidDiggs Linux - Hardware 6 03-20-2008 08:36 PM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM
CPU and memory usage suguname Linux - Newbie 3 02-01-2005 01:45 PM
CPU, Load and Memory ... KnightAzul Linux - General 1 09-17-2003 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration