Web lists-archives.com

Re: [dolphin] [Bug 393977] Dolphin has become very slow after recent update




see below

On Fri, Jun 1, 2018 at 5:25 PM, Bug Reporter <bugreporter11@xxxxxxxxx> wrote:
On Fri, Jun 1, 2018 at 5:04 PM, Elvis Angelaccio <bugzilla_noreply@xxxxxxx> wrote:
https://bugs.kde.org/show_bug.cgi?id=393977

--- Comment #9 from Elvis Angelaccio <elvis.angelaccio@xxxxxxx> ---
(In reply to bugreporter11 from comment #8)
> Is this the right method for running Dolphin from gdb?
> $ gdb dolphin 2>&1 | tee dolphin.gdb
> (gdb) run
> Starting program: /usr/bin/dolphin

Yes, that should work.


In my experience, the GUI gets slower and slower over time when I leave Dolphin open. Prior to a few months ago, this did not happen. I would leave Dolphin open for weeks (or months) at a time on my desktop computer. Since a change a few months ago, I now close Dolphin each night. This keeps the GUI acting relatively responsively.

For this test, I have been running Dolphin from gdb for two days without closing it. Today I can notice a slight decrease in GUI responsiveness (very slight), but the messages in gdb are exactly the same. There are no additional error messages or anything that looks abnormal.

I'll continue this for another week or so and see if any messages change and how much Dolphin slows down over time.

So far the messages I see are similar to these. There are not many of these:

Empty filename passed to function
kf5.kservice.services: KMimeTypeTrader: mimeType "" not found

inotify_add_watch("/home/user/Downloads/MyTemp") failed: "Permission denied"
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting audio notification

Access to ' "/home/user/workspaces/xyz" ' denied, not owned by root, executable flag not set.

UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "unbind"

And only one message like each of these:
Trying to convert empty KLocalizedString to QString.
qt.accessibility.core: Cannot create accessible child interface for object:  PlacesView(0x5555558f33a0)  index:  41

Other than that, the messages are mostly like this:

[New Thread 0x7fff81ffb700 (LWP 15125)]
[Thread 0x7fff81ffb700 (LWP 15125) exited]
org.kde.dolphin: Saving view-properties to ...

I would like to fix the permission issues and other issues, but I don't see anything wrong with any permissions. I own the directories mentioned in the messages. And I'm sure these messages are not related to the slow GUI responsiveness issue I am troubleshooting now.



I pasted pmap output. The surprising thing was that Dolphin in using 4514648K bytes of memory. That's 4.3 Gigabytes of RAM used by Dolphin alone! I guess that explains why Dolphin gets so slow over time, right? The output of pmap was so large that my prior message to this list was rejected with the message "Message body is too big: 146890 bytes with a limit of 40 KB".The pmap output got posted to the bug report here: https://bugs.kde.org/show_bug.cgi?id=393977

This huge memory usage is apparently the result of letting Dolphin run without closing it since May 31 (about 3 and a half days). I used to leave Dolphin open for weeks or months at a time and this sluggishness did not occur.

Currently, I have dolphin running in gdb. I can send more info if needed. But soon I'm going to have to close and reopen Dolphin because it has become too sluggish to use normally.