Comment 3 for bug 1469845

Revision history for this message
twowheeler (cdhassell) wrote :

This bug is old but it looks like I am having the same issue.

I am running Openshot 2,5,1-dev2 on ubuntu 18.04.4, with 6GB memory and 2GB swap. I used OpenShot to pull in a series of short video and audio clips to make a 35-minute video. The process went fine until trying to export the result. After working for about an hour, it would get to about 75% complete and then freeze the system, with the disk light on full time. If I waited long enough it would eventually come out of the freeze, but OpenShot closed without finishing the export. I tried several different output formats, but it didn't change the outcome.

Since I had access to a Macbook, I installed the Mac version of OpenShot, and copied over the folder from the ubuntu system with all of the files to the Mac. The Mac has 8GB of memory. The export ran fine on the Mac and I got my video done. Success!

As an experiment I tried it again on another Ubuntu system with 16GB memory and 20GB swap. It still crashed at the same point as before, despite having acres of RAM. The system log report is as follows:

[ 5401.109711] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=openshot-qt,pid=2469,uid=1000
[ 5401.109852] Out of memory: Killed process 2469 (openshot-qt) total-vm:40318340kB, anon-rss:15581236kB, file-rss:0kB, shmem-rss:488kB
[ 5402.989441] oom_reaper: reaped process 2469 (openshot-qt), now anon-rss:0kB, file-rss:0kB, shmem-rss:456kB

So it looks like the linux version has a memory leak that is not present in the MacOS version. I like OpenShot and I'm hoping you guys can fix it.