Bug 376386 - kioslave FISH protocol has memory leak
Summary: kioslave FISH protocol has memory leak
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: FISH (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 08:42 UTC by slartibart70
Modified: 2022-12-29 05:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slartibart70 2017-02-12 08:42:35 UTC
Open a file manager, like dolphin or krusader
In one panel, show the target (local) directory. On the other, show the remote directory which is accessed by the fish protocol, e.g. "fish://hostname/somedir".

Choose a huge file, in my case, a .vdi file from virtualbox having 30GB in size

Select and copy it to the local panel/filesystem.

What happens:
- copy starts
- memory allocation (RAM) is increasing constantly - right from the beginning
- at some point, swap memory is allocated
- copying gets very slow (just have a look at some network monitor, in the beginning we start with 100M/sec (gigbit connection), later on, it slows down to 2M/sec and less
- the whole system feels 'sluggish' because of the ever increasing memory consumption and the need for swapping
- when you decide to stop the copying (e.g. in the kde-taskbar, press the stop button of the current copy job), then yes, copying stops.
But memory is never freed again
- you need to kill the parent-process (dolphin/krusader) to get your memory back....

Of course, copying such large files i normally do using rsync or similar - here the memory footprint is and stays very low and the network-copying speed is constant over the whole copy process.
But what is the purpose of some file-management tool if not correctly copying files?
This is also the reason for attributing the severity to 'major'
Comment 1 Justin Zobel 2022-11-29 05:06:06 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-12-14 05:12:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-29 05:24:36 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!