This forum has been archived. All content is frozen. Please use KDE Discuss instead.

A memory leak issue on Daily Build

Tags: None
(comma "," separated)
thehorizon
Registered Member
Posts
4
Karma
0

A memory leak issue on Daily Build

Sun Jan 18, 2015 11:23 am
I'm not sure if the problem I'm reporting is already being looked upon but I am posting my observation in the hope they will be noticed and fixed in future builds.

I'm using Mint 17.1 XFCE and I installed Kdenlive 0.9.10 Development daily build dated 16th Jan (file: kdenlive-ubuntu12.04-x86_64-20150116). I have a 8GB RAM, and 2.4 GHz i7 Lenevo laptop. I run medit, Thunar, Firefox at the time of running Kdenlive but not many memory extensive applications are running. The issue I am facing is that after 2-3 minutes of running (normal editing and adding transitions) Kdenlive, the memory usage shoots up from 1.7 GB to 5.3 GB or so (figures slightly vary each time). If I do not close Kdenlive and keep editing then the system freezes and only way out is to do a Hard Reset (reboot).

If I close Kdenlive and reopen the memory gets freed up but again after running for 2-3 minutes, the cycle repeats itself. In the logs, the messages do not indicate any error - just some lines about Effect #N found and saving a file periodically for Auto-Recover feature, I think.

Note that, if I open Kdenlive and do not do any editing (previewing, adding transitions and cutting clips) then the memory level remains well below 2 GBs. But as soon as I start editing memory usage increases kinda exponentially. This issue is also present in the daily build of 15th Jan.

This issue was not present in the Dec 12 2014 daily build. That is little older but the most stable build that I have tried so far. Currently, am using it.

Anyone else facing this? Is there anyway to not let Kdenlive eat up all my memory and freeze my system?
vpinon
KDE Developer
Posts
708
Karma
6
OS

Sun Jan 18, 2015 12:59 pm
what are the mlt and libav/ffmpeg versions you have ? also from daily build ?
thehorizon
Registered Member
Posts
4
Karma
0
Yes, that is correct! The launcher I run is set to run as "Kdenlive-0.9.10-daily-build-of-16th-Jan" as its working directory. The "start-kdenlive" shell script in the daily-build extracted root folder sets the melt, ffmpeg and avconv locations to those from inside the "Kdenlive-0.9.10-daily-build-of-16th-Jan/bin" directory (also from kdenlive UI, I checked the "environment" to make sure they are not referring anything from /usr/bin. I do not have Kdenlive installed from the apt repositories at all the default one provided is older - 0.9.8 ).

Thank you!

Edit: Forgot to mention that I use slightly downgraded version of kde-libs is 4:4.13.3-0ubuntu0.2. I had to downgrade kde-libs because I just needed to run kdenlive - the kde-libs version from repositories couldn't run the daily builds. Below is the output of '
Code: Select all
dpkg -l | grep kde | cut -d" " -f3
'
Code: Select all
kde-runtime
kde-runtime-data
kdelibs-bin
kdelibs5-data
kdelibs5-dev
kdelibs5-plugins
libkde3support4
libkdeclarative5
libkdecore5
libkdesu5
libkdeui5
libkdewebkit5


Thank you!
thehorizon
Registered Member
Posts
4
Karma
0
Finally, I switched to the sunab's ppa and installed kdenlive and melt available from the repositories. The issue seems fixed now - i believe an updated version of melt fixed it. These are the details for anyone facing similar problem:

Code: Select all
Melt: 0.9.3+git20150111.65636228-0ubuntu0~sunab~trusty1
Qt: 4.8.6
KDE Development Platform: 4.14.2
Kdenlive: 0.9.10


Right now, I have another problem, which I will post as a new thread.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]