[Software] Nemo is slow and takes a lot of ram

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

[Software] Nemo is slow and takes a lot of ram

#1 Post by larienna »

I have just configured Cinnamon and when using the Nemo file manager, navigation is extremely slow. I take 5 seconds to move between folders even if there is a very small amount of files in that directory. Right clicking also take 5 seconds. At the same time, nemo take 500 megs of ram, which exceed firefox. Other file browser like dolphin and thunar consume 1/10th of that amount. I am running on an m2 SSD, so it should not be an hardware issue.

I am considering that both issues should be connected. I tried to fix one or the other without any success. Things I have tried so far:

* Reinstall gvfs (no effect)
* Disable plugins ( I only had one, so it had a minor effect)
* Disable thumbnails (minor effect)
* Clear the cache using "rm -rf ~/.cache/thumbnails" (no effect)

The version of nemo I am using is 5.6.4

Is there any other solution?

arzgi
Posts: 1713
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 98 times

Re: [Software] Nemo is slow and takes a lot of ram

#2 Post by arzgi »

Have you upgraded lately?

Code: Select all

arto@dell:~$ aptitude show nemo
Paketti: nemo                              
Versio: 5.6.4-1

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#3 Post by larienna »

I think we have the same version

Code: Select all

$ apt show nemo
Package: nemo
Version: 5.6.4-1
Priority: optional
Section: misc
Maintainer: Debian Cinnamon Team <debian-cinnamon@lists.debian.org>
Installed-Size: 5,511 kB
Depends: cinnamon-desktop-data (>= 5.6~), desktop-file-utils, gsettings-desktop-schemas, gvfs, libcinnamon-desktop4 (>= 5.6~), libglib2.0-data, libnemo-extension1 (= 5.6.4-1), nemo-data (= 5.6.4-1), shared-mime-info, libatk1.0-0 (>= 1.12.4), libc6 (>= 2.34), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.10.0), libexempi8 (>= 2.5.0), libexif12 (>= 0.6.21-1~), libgail-3-0 (>= 3.0.0), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.55.2), libgsf-1-114 (>= 1.14.9), libgtk-3-0 (>= 3.21.5), libpango-1.0-0 (>= 1.44.6), libpangocairo-1.0-0 (>= 1.14.0), libselinux1 (>= 3.1~), libx11-6, libxapp1 (>= 2.0.0), libxml2 (>= 2.7.4)
Recommends: catdoc, cinnamon-l10n (>= 5.6.1~), exif, gnome-disk-utility, gvfs-backends, gvfs-fuse, html2text, id3, librsvg2-common, nemo-fileroller (>= 5.2~), odt2txt, poppler-utils, python3-xlrd, python3:any, untex
Suggests: eog, evince | pdf-viewer, totem | mp3-decoder, xdg-user-dirs
Breaks: cinnamon (<< 5.4~), cinnamon-core (<< 5.4~), nemo-fileroller (<< 5.2~)
Homepage: http://cinnamon.linuxmint.com/
Tag: uitoolkit::gtk
Download-Size: 1,176 kB
APT-Manual-Installed: no
APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages
Description: File manager and graphical shell for Cinnamon
 Nemo is the official file manager for the Cinnamon desktop. It allows one
 to browse directories, preview files and launch applications associated
 with them. It is also responsible for handling the icons on the Cinnamon
 desktop. It works on local and remote filesystems.
 .
 Several icon themes and components for viewing different kinds of files
 are available in separate packages.
UPDATE: Here is a copy of the process info

Code: Select all

$ ps -aux | grep "nemo"
ericp       1781  0.0  0.1 457080 33312 ?        Sl   Dec05   0:00 nemo-desktop
ericp       7038 15.6  1.7 1628888 553580 ?      Sl   02:10   0:10 nemo
ericp       7189  0.0  0.0   8864  2168 pts/0    S+   02:11   0:00 grep nemo
System monitor shows 502.1 Meg for nemo, and 486.3 meg for Firefox. Beating firefox in matter of memory consumption is an achievement in it self. :D

arzgi
Posts: 1713
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 98 times

Re: [Software] Nemo is slow and takes a lot of ram

#4 Post by arzgi »

I don't use nemo, maybe you should do a bug-report.

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#5 Post by larienna »

This is what I am currently doing, I am using Thunar, but I know thunar stability could be flaky, in some situation it could crash.

I think there have been bug reports in the past since I found many threads about this issue, but the causes seems very diversified.

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#6 Post by larienna »

Fun fact, I decided to try using Caja because Thunar could not allow me to right click on a empty area without freezing. Clicking on "File" had the same effect. Probably due to the position of the moon in the sky.

It happens that Caja was taking 1 gig of ram and was continuously consuming more and more ram.

I would suspect something on my system is making those 2 file browser go wild.

I guess we are back to the command line.

arzgi
Posts: 1713
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 98 times

Re: [Software] Nemo is slow and takes a lot of ram

#7 Post by arzgi »

Well, if you can use some other pc/laptop, perhaps running memtest for a few days.

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#8 Post by larienna »

The computer is brand new, I doubt it's an hardware issue.

I'll try to launch those software under a different DE.

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 375
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] Nemo is slow and takes a lot of ram

#9 Post by bbbhltz »

A few things I would try:

Running nemo from the terminal and seeing if that provides any extra info.

Try running the following as well:

For load times

Code: Select all

nemo -q; NEMO_BENCHMARK_LOADING=1 nemo  /path/to/some/directory
For debugging

Code: Select all

nemo -q; NEMO_DEBUG=all  nemo --debug /path/to/some/directory
bbbhltz
longtime desktop Linux user; eternal newbie

arzgi
Posts: 1713
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 98 times

Re: [Software] Nemo is slow and takes a lot of ram

#10 Post by arzgi »

larienna wrote: 2024-12-08 09:39 The computer is brand new, I doubt it's an hardware issue.

I'll try to launch those software under a different DE.
It would not be the first time memory chip to have bad solder, etc,

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#11 Post by larienna »

Here is the debugging output. The only think I could see is some conflicts with the theme.

Code: Select all

$ nemo -q; NEMO_BENCHMARK_LOADING=1 nemo  /home/ericp

** (nemo:16823): WARNING **: 02:17:37.164: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:16823): WARNING **: 02:17:37.182: The theme appears to have no nemo support.  Adding some...

** (nemo:16830): WARNING **: 02:17:37.224: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:16830): WARNING **: 02:17:37.245: The theme appears to have no nemo support.  Adding some...
Nemo startup time: 0.340264 seconds
Folder load time: 0.249979 seconds
Idle...Folder load time: 0.262540 seconds

$ nemo -q; NEMO_DEBUG=all  nemo --debug /home/ericp

** (nemo:17027): WARNING **: 02:19:26.818: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:17027): WARNING **: 02:19:26.837: The theme appears to have no nemo support.  Adding some...
(nemo:17033): GLib-DEBUG: 02:19:26.879: unsetenv() is not thread-safe and should not be used after threads are created
(nemo:17033): Gtk-DEBUG: 02:19:26.879: Connecting to session manager
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Failed to get the GNOME screensaver proxy: The name org.gnome.ScreenSaver is not owned
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Registering client 'org.Nemo' ''
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Registered client at '/org/gnome/SessionManager/Client39'
(nemo:17033): GLib-GIO-DEBUG: 02:19:26.881: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/preferences/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/window-state/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/icon-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/list-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/compact-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/desktop/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/gtk/settings/file-chooser/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/sidebar-panels/tree/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/plugins/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/preferences/menu-config/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/search/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/lockdown/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/background/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/media-handling/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/applications/terminal/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/preferences/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/privacy/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/window-state/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/interface/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/icon-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/list-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/compact-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/desktop/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/gtk/settings/file-chooser/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/sidebar-panels/tree/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/plugins/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/preferences/menu-config/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/search/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/lockdown/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/background/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/media-handling/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/applications/terminal/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/privacy/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/interface/" (establishing: 1)

** (nemo:17033): WARNING **: 02:19:26.887: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:17033): WARNING **: 02:19:26.905: The theme appears to have no nemo support.  Adding some...
** (nemo:17033): DEBUG: 02:19:26.906: Open called on the GApplication instance; 1 files
(nemo:17033): dconf-DEBUG: 02:19:26.952: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.952: watch_established: "/org/x/apps/favorites/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.952: change_fast
(nemo:17033): dconf-DEBUG: 02:19:26.996: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.000: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 1)
(nemo:17033): dconf-DEBUG: 02:19:27.003: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.003: change_notify: /org/nemo/window-state/maximized
(nemo:17033): dconf-DEBUG: 02:19:27.011: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.011: change_notify: /org/nemo/window-state/maximized


larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#12 Post by larienna »

I went back into KDE plasma

Nemo still takes 500 meg of ram.
Caja is now at 1.3 gig and keeps increasing.

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#13 Post by larienna »

I tried in mate

Nemo remains at 500 meg of ram.
Caja is currently at 1.9 gig and keeps increasing. Not really sure what is the limit. It's now 2.4 gig.

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 375
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] Nemo is slow and takes a lot of ram

#14 Post by bbbhltz »

Is this a default install or have you changed any parameters regarding swapiness or disk caching.

What does this report?

Code: Select all

free -m
And if you run this what happens?

Code: Select all

echo 3 | sudo tee /proc/sys/vm/drop_caches
bbbhltz
longtime desktop Linux user; eternal newbie

DebianFox
Posts: 199
Joined: 2024-05-05 14:11
Has thanked: 25 times
Been thanked: 15 times

Re: [Software] Nemo is slow and takes a lot of ram

#15 Post by DebianFox »

larienna wrote: 2024-12-09 07:21 Here is the debugging output. The only think I could see is some conflicts with the theme.

Code: Select all

$ nemo -q; NEMO_BENCHMARK_LOADING=1 nemo  /home/ericp

** (nemo:16823): WARNING **: 02:17:37.164: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:16823): WARNING **: 02:17:37.182: The theme appears to have no nemo support.  Adding some...

** (nemo:16830): WARNING **: 02:17:37.224: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:16830): WARNING **: 02:17:37.245: The theme appears to have no nemo support.  Adding some...
Nemo startup time: 0.340264 seconds
Folder load time: 0.249979 seconds
Idle...Folder load time: 0.262540 seconds

$ nemo -q; NEMO_DEBUG=all  nemo --debug /home/ericp

** (nemo:17027): WARNING **: 02:19:26.818: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:17027): WARNING **: 02:19:26.837: The theme appears to have no nemo support.  Adding some...
(nemo:17033): GLib-DEBUG: 02:19:26.879: unsetenv() is not thread-safe and should not be used after threads are created
(nemo:17033): Gtk-DEBUG: 02:19:26.879: Connecting to session manager
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Failed to get the GNOME screensaver proxy: The name org.gnome.ScreenSaver is not owned
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Registering client 'org.Nemo' ''
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Registered client at '/org/gnome/SessionManager/Client39'
(nemo:17033): GLib-GIO-DEBUG: 02:19:26.881: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/preferences/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/window-state/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/icon-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/list-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/compact-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/desktop/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/gtk/settings/file-chooser/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/sidebar-panels/tree/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/plugins/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/preferences/menu-config/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/search/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/lockdown/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/background/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/media-handling/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/applications/terminal/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/preferences/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/privacy/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/window-state/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/interface/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/icon-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/list-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/compact-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/desktop/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/gtk/settings/file-chooser/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/sidebar-panels/tree/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/plugins/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/preferences/menu-config/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/search/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/lockdown/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/background/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/media-handling/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/applications/terminal/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/privacy/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/interface/" (establishing: 1)

** (nemo:17033): WARNING **: 02:19:26.887: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:17033): WARNING **: 02:19:26.905: The theme appears to have no nemo support.  Adding some...
** (nemo:17033): DEBUG: 02:19:26.906: Open called on the GApplication instance; 1 files
(nemo:17033): dconf-DEBUG: 02:19:26.952: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.952: watch_established: "/org/x/apps/favorites/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.952: change_fast
(nemo:17033): dconf-DEBUG: 02:19:26.996: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.000: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 1)
(nemo:17033): dconf-DEBUG: 02:19:27.003: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.003: change_notify: /org/nemo/window-state/maximized
(nemo:17033): dconf-DEBUG: 02:19:27.011: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.011: change_notify: /org/nemo/window-state/maximized

See if it is possible to use a different theme? Also do you have network shares, NFS/Samba/ZFS/etc connected? See if disabling those helps to improve the speed.

Also how much is the free space on your M.2 disk? Will it be possible for you to execute the following command and give the output over here? Please enclose the output within code brackets

Code: Select all

$  \df -hTa

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#16 Post by larienna »

I do not have network drives. The installation is relatively recent, so there is a lot of free space. I tweaked a lot of ramdisk, maybe that is the source of the problem. But having 32 gig of rams was the whole purpose to create lof of ramdisks:

Code: Select all

Filesystem     Type             Size  Used Avail Use% Mounted on
sysfs          sysfs               0     0     0    - /sys
proc           proc                0     0     0    - /proc
udev           devtmpfs          16G     0   16G   0% /dev
devpts         devpts              0     0     0    - /dev/pts
tmpfs          tmpfs            3.1G  1.8M  3.1G   1% /run
/dev/nvme0n1p1 ext4             182G   70G  104G  41% /
securityfs     securityfs          0     0     0    - /sys/kernel/security
tmpfs          tmpfs             16G     0   16G   0% /dev/shm
tmpfs          tmpfs            5.0M   16K  5.0M   1% /run/lock
cgroup2        cgroup2             0     0     0    - /sys/fs/cgroup
pstore         pstore              0     0     0    - /sys/fs/pstore
efivarfs       efivarfs            0     0     0    - /sys/firmware/efi/efivars
bpf            bpf                 0     0     0    - /sys/fs/bpf
systemd-1      -                   -     -     -    - /proc/sys/fs/binfmt_misc
mqueue         mqueue              0     0     0    - /dev/mqueue
debugfs        debugfs             0     0     0    - /sys/kernel/debug
tracefs        tracefs             0     0     0    - /sys/kernel/tracing
hugetlbfs      hugetlbfs           0     0     0    - /dev/hugepages
tmpfs          tmpfs            1.0G  4.0K  1.0G   1% /tmp
ramfs          ramfs               0     0     0    - /run/credentials/systemd-sysusers.service
ramfs          ramfs               0     0     0    - /run/credentials/systemd-tmpfiles-setup-dev.service
configfs       configfs            0     0     0    - /sys/kernel/config
tmpfs          tmpfs            1.0G   66M  959M   7% /home/ericp/.cache
tmpfs          tmpfs            100M     0  100M   0% /mnt/build
ramfs          ramfs               0     0     0    - /run/credentials/systemd-sysctl.service
fusectl        fusectl             0     0     0    - /sys/fs/fuse/connections
/dev/nvme0n1p2 ext4             733G  105G  591G  16% /mnt/data
/dev/nvme0n1p3 vfat             476M  5.9M  470M   2% /boot/efi
ramfs          ramfs               0     0     0    - /run/credentials/systemd-tmpfiles-setup.service
binfmt_misc    binfmt_misc         0     0     0    - /proc/sys/fs/binfmt_misc
tmpfs          tmpfs            3.1G  2.5M  3.1G   1% /run/user/1000
gvfsd-fuse     fuse.gvfsd-fuse  0.0K  0.0K  0.0K    - /run/user/1000/gvfs
portal         fuse.portal      0.0K  0.0K  0.0K    - /run/user/1000/doc

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#17 Post by larienna »

I think I used in memory compressed swap, to avoid swapping on the SSD

Code: Select all

 $ free -m
               total        used        free      shared  buff/cache   available
Mem:           31273        4095       24618         193        3202       27178
Swap:           3127           0        3127

Code: Select all

 $ echo 3 | sudo tee /proc/sys/vm/drop_caches
3
I ran all those commands without Nemo or Caja Openned.

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 375
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] Nemo is slow and takes a lot of ram

#18 Post by bbbhltz »

larienna wrote: 2024-12-12 08:27 I think I used in memory compressed swap, to avoid swapping on the SSD

Code: Select all

 $ free -m
               total        used        free      shared  buff/cache   available
Mem:           31273        4095       24618         193        3202       27178
Swap:           3127           0        3127

Code: Select all

 $ echo 3 | sudo tee /proc/sys/vm/drop_caches
3
I ran all those commands without Nemo or Caja Openned.
If you run the free command again just after the command starting with echo is there any difference? I think you should do it with Nemo running too.
bbbhltz
longtime desktop Linux user; eternal newbie

larienna
Posts: 181
Joined: 2014-09-27 20:54
Been thanked: 1 time

Re: [Software] Nemo is slow and takes a lot of ram

#19 Post by larienna »

I launched both commands before nemo, and after nemo. Here is the log

Code: Select all

ericp [~]
 $ echo 3 | sudo tee /proc/sys/vm/drop_caches
3
 ericp [~]
 $ free -m
               total        used        free      shared  buff/cache   available
Mem:           31273        5060       25883         431        1138       26213
Swap:           3127           0        3127
 ericp [~]
 $ echo "I started nemo"
I started nemo
 ericp [~]
 $ echo 3 | sudo tee /proc/sys/vm/drop_caches
3
 ericp [~]
 $ free -m
               total        used        free      shared  buff/cache   available
Mem:           31273        5558       25376         423        1145       25715
Swap:           3127           0        3127
Weird, I do not see a difference. Here is the PS command:

Code: Select all

 $ ps -aux | grep "nemo"
ericp       1738  0.0  0.0 457092 31440 ?        Sl   Dec12   0:00 nemo-desktop
ericp      16167  5.9  1.7 1506376 560040 ?      Sl   03:34   0:11 nemo
ericp      16463  0.0  0.0   8864  2148 pts/0    S+   03:37   0:00 grep nemo

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 375
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] Nemo is slow and takes a lot of ram

#20 Post by bbbhltz »

larienna wrote: 2024-12-09 07:21 Here is the debugging output. The only think I could see is some conflicts with the theme.

Code: Select all

$ nemo -q; NEMO_BENCHMARK_LOADING=1 nemo  /home/ericp

** (nemo:16823): WARNING **: 02:17:37.164: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:16823): WARNING **: 02:17:37.182: The theme appears to have no nemo support.  Adding some...

** (nemo:16830): WARNING **: 02:17:37.224: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:16830): WARNING **: 02:17:37.245: The theme appears to have no nemo support.  Adding some...
Nemo startup time: 0.340264 seconds
Folder load time: 0.249979 seconds
Idle...Folder load time: 0.262540 seconds

$ nemo -q; NEMO_DEBUG=all  nemo --debug /home/ericp

** (nemo:17027): WARNING **: 02:19:26.818: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:17027): WARNING **: 02:19:26.837: The theme appears to have no nemo support.  Adding some...
(nemo:17033): GLib-DEBUG: 02:19:26.879: unsetenv() is not thread-safe and should not be used after threads are created
(nemo:17033): Gtk-DEBUG: 02:19:26.879: Connecting to session manager
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Failed to get the GNOME screensaver proxy: The name org.gnome.ScreenSaver is not owned
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Registering client 'org.Nemo' ''
(nemo:17033): Gtk-DEBUG: 02:19:26.880: Registered client at '/org/gnome/SessionManager/Client39'
(nemo:17033): GLib-GIO-DEBUG: 02:19:26.881: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/preferences/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/window-state/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/icon-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/list-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/compact-view/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.881: watch_fast: "/org/nemo/desktop/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/gtk/settings/file-chooser/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/sidebar-panels/tree/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/plugins/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/preferences/menu-config/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/nemo/search/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/lockdown/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/background/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/media-handling/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/applications/terminal/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/preferences/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/privacy/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/window-state/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_fast: "/org/cinnamon/desktop/interface/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/icon-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/list-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/compact-view/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/desktop/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/gtk/settings/file-chooser/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/sidebar-panels/tree/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/plugins/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/preferences/menu-config/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/nemo/search/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/lockdown/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/background/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/media-handling/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/applications/terminal/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/privacy/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.882: watch_established: "/org/cinnamon/desktop/interface/" (establishing: 1)

** (nemo:17033): WARNING **: 02:19:26.887: Current gtk theme is not known to have nemo support (Breeze-Dark) - checking...

** (nemo:17033): WARNING **: 02:19:26.905: The theme appears to have no nemo support.  Adding some...
** (nemo:17033): DEBUG: 02:19:26.906: Open called on the GApplication instance; 1 files
(nemo:17033): dconf-DEBUG: 02:19:26.952: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 0)
(nemo:17033): dconf-DEBUG: 02:19:26.952: watch_established: "/org/x/apps/favorites/" (establishing: 1)
(nemo:17033): dconf-DEBUG: 02:19:26.952: change_fast
(nemo:17033): dconf-DEBUG: 02:19:26.996: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.000: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 1)
(nemo:17033): dconf-DEBUG: 02:19:27.003: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.003: change_notify: /org/nemo/window-state/maximized
(nemo:17033): dconf-DEBUG: 02:19:27.011: change_fast
(nemo:17033): dconf-DEBUG: 02:19:27.011: change_notify: /org/nemo/window-state/maximized

Does this occur with different themes as well?
bbbhltz
longtime desktop Linux user; eternal newbie

Post Reply