[Bug 174586] New: Loading video from camera consumes ll memory

classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] New: Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586

           Summary: Loading video from camera consumes ll memory
           Product: digikam
           Version: 0.10.0-beta1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10.0-beta1 (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

When trying to load an avi-video from my canon camera (using USB PTP class
camera) digikam consumes all available memory when transfering the video.
Digikam never completes. The video is not more than 50 mb large.

I can provide more information if not directly reproducable.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Gilles Caulier-4
http://bugs.kde.org/show_bug.cgi?id=174586


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Camera GUI




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2008-11-08 12:23:04 ---
You use beta1. please try with last beta5 release...

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #2 from Søren Holm <sgh sgh dk>  2008-11-08 17:40:57 ---
I don't know how to install beta5. Couldn't compie libkipi.

Abyway I notice that digicam 0.9.4 also has that problem. It peaked at 800 megs
of used memory. It  was all free when the avi-file was successfully retreived.
Since I also hav 1Gig of memory this was pretty annoying and basically locked
up my machine.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Gilles Caulier-4
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2008-11-08 17:51:33 ---
If problem appear in KDE3 version too, it must be a problem with libgphoto2
used by digiKam to play with non USB Mass Storage camera.

Which libgphoto2 version you use ?
Which camera type/model ?
Which video format ?

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #4 from Søren Holm <sgh sgh dk>  2008-11-08 17:56:02 ---
camera:
cannon isux 90is

libghoto2:
2.4.2-0ubuntu2 (I do not know if there are any ubuntu patches)

video format (reported by 'file'):
RIFF (little-endian) data, AVI, 640 x 480, 30.00 fps, video: Motion JPEG,
audio: uncompressed PCM (mono, 44100 Hz)


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Gilles Caulier-4
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2008-12-03 10:40:46 ---
Soren,

Can you test with last digiKam 0.10.0-beta6 if problem still exist ?

Thanks in advance

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #6 from Søren Holm <sgh sgh dk>  2008-12-07 01:29:07 ---
sure .... having trouble compiling just now, but I will return.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #7 from Søren Holm <sgh sgh dk>  2008-12-09 23:22:47 ---
Can't get digikam 0.10 beta6 to work. After compiling it and trying to run it,
it is not even able to show my existing images...


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Gilles Caulier-4
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #8 from Gilles Caulier <caulier gilles gmail com>  2008-12-09 23:26:08 ---
are you updated libkipi, libkexiv2, and libkdcraw from trunk before to compile
digiKam ?

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Gilles Caulier-4
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #9 from Gilles Caulier <caulier gilles gmail com>  2008-12-10 21:08:52 ---
Soren,

well, do it. use kdegraphics/libs from trunk as explained here:

http://www.digikam.org/sharedlibs

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #10 from Søren Holm <sgh sgh dk>  2008-12-27 22:09:29 ---
digikam-0.10 beta7 still has the problem. Any hint on how to pinpoint where the
memory is actually allocated?


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Marcel Wiesweg
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #11 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-29 23:22:16 ---
Does it use only memory or CPU as well? Watch it using a system monitor, top or
ksysguard.
Any output on the console?
While digikam is running and consuming memory, attach gdb. To do this, find out
the PID of the process and then call "gdb att <PID>". Type the command "thr
appl all bt" and post the output here.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Marcel Wiesweg
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #12 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-18 22:44:46 ---
Any news on this?


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Gilles Caulier-4
In reply to this post by Bugzilla from sgh@sgh.dk
http://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #13 from Gilles Caulier <caulier gilles gmail com>  2009-01-19 08:43:06 ---
S0ren,

Please take a look in comment #11 and report more info in this thread. thanks
in advance

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
In reply to this post by Bugzilla from sgh@sgh.dk
https://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #14 from   2009-02-16 22:18:28 ---
Created an attachment (id=31378)
 --> (http://bugs.kde.org/attachment.cgi?id=31378)
backtrace of digikam 0.10.0 rc2 using 300 Mb memory

Backtrace of digikam using 300 Mb of memory during a download of a 1600 Mb
AVI-file from my Canon IXUS 90IS

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
In reply to this post by Bugzilla from sgh@sgh.dk
https://bugs.kde.org/show_bug.cgi?id=174586


Søren Holm <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #15 from   2009-02-16 22:19:44 ---
Sorry for the long delay, but my camera has been left along for a while.

Anyway top says the following - and this is only the beginning, because the sky
is the limit with this. It just keeps on going until killed by OOM.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 5086 sgh       20   0  492m 276m  12m T    0 31.5   0:27.45 digikam

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Marcel Wiesweg
In reply to this post by Bugzilla from sgh@sgh.dk
https://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #16 from   2009-02-17 09:58:42 ---
Thanks for the backtrace. This indeed hints at a problem in gphoto2: the only
running digikam thread is deep inside libgphoto2 called to download an item.

Gilles, I guess we should CC the gphoto2 developer?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Gilles Caulier-4
In reply to this post by Bugzilla from sgh@sgh.dk
https://bugs.kde.org/show_bug.cgi?id=174586


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email],
                   |                            |[hidden email]




--- Comment #17 from   2009-02-17 10:11:19 ---
Marcel,

Gphoto2 lead developer is Marcus Meissner <marcus at jet dot franken dot de>.
He is registered to B.K.O. Just add email as CC is enough...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Marcus Meissner-4
In reply to this post by Bugzilla from sgh@sgh.dk
https://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #18 from   2009-02-17 10:14:46 ---
libgphoto2 slurps everything into memory first if you are not using
filedescriptor based transfer. So for 1.6GB movie, it will try to allocate
1.6GB at least.

You can work around this by diownloadiung just this movie using
gphoto2 commandline tool, which uses a passtghrough method.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 174586] Loading video from camera consumes ll memory

Bugzilla from sgh@sgh.dk
In reply to this post by Bugzilla from sgh@sgh.dk
https://bugs.kde.org/show_bug.cgi?id=174586





--- Comment #19 from   2009-02-17 19:22:23 ---
hmm... well I guess this is a no no. The most movie-files is normaly several
megabytes pr minute, so I think digikam should indeed use filedescriptor based
transfer. But this must mean that everyone has this problem, also Gilles.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12