Bug 301514 - Enormous amount of memory used when synchronising with sftp
Summary: Enormous amount of memory used when synchronising with sftp
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krusader
Classification: Applications
Component: synchronize (show other bugs)
Version: 2.4.0-beta1 "Migration"
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
: 321863 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-09 16:01 UTC by Manuel Bärenz
Modified: 2018-05-06 00:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-11106-0.html (1.65 KB, text/html)
2018-02-23 13:06 UTC, shlomiag
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Bärenz 2012-06-09 16:01:31 UTC
I'm using the synchronizer tool to backup my personal files on an sftp server. However, it has become unusable because krusader starts reserving enormous amounts of memory (about a GB, way more than the delta of files that needs to be transferred, and also way more than the size one needs to store just the directory information).

Reproducible: Always

Steps to Reproduce:
1. Open a new SFTP connection to backup server
2. Synchronize directories with lots of files (my example: pidgin logs)
Actual Results:  
While comparing the folders, memory usage of krusader grows to about a GB. It would grow even more if I didn't run out of memory at that point, since the comparison is not even half way done.

Expected Results:  
Do the comparison without bloating up.

It might be possible that most of the file names of the files I want to synchronise are illegal. They contain characters like "+". Maybe the synchroniser is storing all the error messages somewhere internally?
If I just copy the files to the SFTP folder, it works normally. However, files with characters like "+" don't show up on the server, which I blame to the server.
If I mount the SFTP folder via sshfs, synchronizer can synchronise the folders without bloating up. (And it doesn't ignore the files with "+", but that might be a separate bug.)
Comment 1 Alex Bikadorov 2017-05-18 20:00:06 UTC
*** Bug 321863 has been marked as a duplicate of this bug. ***
Comment 2 Nikita Melnichenko 2018-02-23 08:13:59 UTC
Do you still use the synchronizer tool and can you confirm the bug with v2.6 or git version?
Comment 3 shlomiag 2018-02-23 13:06:34 UTC
Created attachment 110934 [details]
attachment-11106-0.html

Hi,

Haven't used krusader for several years now... Sorry...

Best,

Shlomi

On Fri, Feb 23, 2018 at 10:13 AM, Nikita Melnichenko <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=301514
>
> Nikita Melnichenko <nikita+kde@melnichenko.name> changed:
>
>            What    |Removed                     |Added
> ------------------------------------------------------------
> ----------------
>                  CC|                            |
> nikita+kde@melnichenko.name
>          Resolution|---                         |WAITINGFORINFO
>              Status|UNCONFIRMED                 |NEEDSINFO
>
> --- Comment #2 from Nikita Melnichenko <nikita+kde@melnichenko.name> ---
> Do you still use the synchronizer tool and can you confirm the bug with
> v2.6 or
> git version?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 4 Nikita Melnichenko 2018-02-24 07:28:01 UTC
Thanks for getting back so quickly. Closing as v2.4 is not maintained anymore.