Bug 56429

Summary: telepathy-salut uses more memory with each file transfer
Product: Telepathy Reporter: Lukas Schneiderbauer <lukas.schneiderbauer>
Component: salutAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: 0.8   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Lukas Schneiderbauer 2012-10-26 15:35:32 UTC
When transfering files with kde-telepathy and link-local accounts the telepathy-salut process uses more and more ram with every initiated file transfer on the sender side.

First the memory should at least be freed after the file transfer has finished.
Second the file to be transfered shouldn't be copied into ram as a whole. Big files like movies cannot be transfered since they fill up your whole ram.

There is a similar bug filed at https://bugs.launchpad.net/ubuntu/+source/telepathy-salut/+bug/574553 (though a little old)
Comment 1 Simon McVittie 2012-10-26 16:18:47 UTC
(In reply to comment #0)
> First the memory should at least be freed after the file transfer has
> finished.

Indeed. There's probably a memory leak somewhere (either in Salut or libsoup) that means this doesn't occur. What version of libsoup are you using?

The bug is probably that after sending a "chunk" of file content, it isn't freed.

> Second the file to be transfered shouldn't be copied into ram as a whole.

If my guess above is right, fixing the memory leak will solve this too.
Comment 2 Lukas Schneiderbauer 2012-10-26 16:42:40 UTC
Thanks for the quick reply!


(In reply to comment #1)
> What version of libsoup are you using?

It says 2.38.1 .
Comment 3 Nicolas Dufresne 2012-10-27 22:47:28 UTC
Is this in both direction ?
Comment 4 Lukas Schneiderbauer 2012-10-29 20:08:37 UTC
(In reply to comment #3)
> Is this in both direction ?
I cannot tell because the other side cannot send me anything. (I don't see a request or anything like that.)
Comment 5 GitLab Migration User 2019-12-03 20:16:23 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-salut/issues/44.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.