PDA

View Full Version : memory over-consumption while in slideshow


chikko
2007-10-18, 13:53
hey,
i've set my XBMC's configuration to enter a pictures slideshow - as a screen saver.
i got 2gigabytes of memory and noticed that the MXBC consumes it all(!) after about an hour or so of running the slideshow (leaves me with about 50kb out of 2gb - which makes the kubuntu turn to virtual memory from a swap partition). it doesn't make any sense at all.. when i run a process manager at that point it tells me that the XBoxMediaCenter takes 1.6Gb(!) of memory..
is there any way i should have configured the XBMC's memory options?..

thanks in advance.

spiff
2007-10-18, 14:26
sounds like your classic memory leak.

patch welcome. if not wrong forum

theuni
2007-10-19, 01:18
Confirmed...

Set the slideshow to show images for 1sec and 100ms transition time and watch it ravage freemem... eats 3-4 megs/sec (per pic)

Will try to hunt down the leak

TheUni

d4rk
2007-10-19, 03:01
It's fixed in SVN 10569. Thanks.

chikko
2007-10-19, 03:21
thanks for replying even though i posted in the wrong forum.. :)
will try to upgrade to the latest SVN as soon as i can!

ultrabrutal
2007-10-19, 08:53
I wonder if this is the same problem I saw on the Xbox... I have some widescreen images. When pressing the D-Pad to jump to the next image XBMC says "Error loading image". After that no image can be opened at all. After a reboot I try the same with normal 4:3 images and there is no problem. Then I try the widescreen again but instead of using D-Pad I use press B and go to the next image to view it. Then there is no problem, but as soon as I use D-Pad on the widescreen image I get the error.
If you don't think this is the same problem, I will reproduce and get a debug log...

chikko
2007-10-21, 19:58
i don't know if that the same symptom, ultrabrutal, but after upgrading to the latest SVN the problem remains: the memory won't release. the longer your XBMC session - the bigger memory consumption..
anyone..? :(