Page 1 of 1
Memory leak in ProgDVB 5.11.08
Posted: Fri Nov 09, 2007 8:07 pm
by Sourcerer
Hi,
I have a problem with the latest version ProgDVB 5.11.08. It seems that there is a memory leak while playing a channel: A look in the task manager shows a constant increasing memory consumption about 500 KB/sec. After 30-40 minutes running, ProgDVB consumes about 1 GB memory and crashes. Although the exceptions message pops, ProgDVB is still playing TV: I assume that the memory leak is not part of the thread which is responsible for video and sound playing.
I tried to reduce the time shift buffer to minimum values and I also haven't installed any Plug-Ins which may be responsible for memory stealing; my hardware configuration:
Intel Dual Core, 1 GB memory, Windows XP SP2, Yakumo QuickStick Basic, Newest Freecom drivers, latest DirectX version.
Any suggestions how to fix that problem (except installing more memory) ?
Thanks,
Simon
Posted: Fri Nov 09, 2007 9:21 pm
by Juergen
When the timeshift buffer is set to RAM, this rising memory consumption should be normal, but it should stop at a given limit, the buffer size defined, plus all the normal usage from application, modules and alike.
Try to set timeshift to file, though this causes some HDD load.
If no success, try to disable modules, like EPG, and all eventual plugins.
Reboot the PC after such changes, to allow unloading of DLLs.
BTW, for using timeshift on file, it's best, to use a second physical HDD (not just partition on the same HDD, as that would make things even worse), either point the recording or the timeshift path there to.
Posted: Sun Nov 11, 2007 8:03 pm
by Sourcerer
Is there no possibility to deactivate the time shifting completly ? I think I won't use this feature anyway.
Posted: Sun Nov 11, 2007 11:15 pm
by Juergen
As far as I know, the only proven way is, to deselect at install time.
You may make a safety copy of your previous installation before, keeping the channels folder, the diseqctree.ini, osd.ini and alike.
But do NOT put back in the old ProgDVB.ini.
In case, use your editor, to compare and c&p some fractions of it, to save you some work..
Posted: Mon Nov 12, 2007 6:59 pm
by Sourcerer
Hi,
unfortunatly, all hints have not helped: I tested writing the time shifting buffer into a file and installed ProgDVB completly fresh without any old configuration files and without the time shifting feature.
All in all I had no success: ProgDVB has still its memory leak.
But after optimization of swap file, I managed that ProgDVB crashes after quite a long time when reaching 1,9 GB memory which takes about 1 hour. So if I restart ProgDVB during every advertising break, I can watch TV without breaks during movies.
.
Posted: Mon Nov 12, 2007 7:38 pm
by Prog
Send me your progdvb.ini
PS: I hope no any plugins...
Posted: Fri Nov 16, 2007 9:18 pm
by Sourcerer
Hi,
I found the reason for that problem memory leak problem:
If I change the video renderer, the memory leak disappears. Unfortunatly, there are also more renderer which have other side effekts. Here a list:
- Video renderer = memory leak
- VMR = very often crashed while changing channels
- VMR9 = quite often crashes while changing channels
Crash message (short error report for microsoft):
AppName: progdvbnet.exe AppVer: 5.11.8.0 AppStamp:472b3732
ModName: quartz.dll ModVer: 6.5.2600.2749 ModStamp:4313d8b7
fDebug: 0 Offset: 000945db
But a single renderer works: with "ProgDVB Video Renderer" everything seems to work stable.
Posted: Fri Nov 16, 2007 9:43 pm
by Juergen
Try to search fpr quartz.dll.
Here, and in the old ProgDVB forum *, and in MS knowledge base.
*
http://forum.progdvb.com/old/ubbthreads.php
Posted: Sun Nov 18, 2007 1:50 pm
by Prog
Sourcerer wrote:- Video renderer = memory leak
- VMR = very often crashed while changing channels
- VMR9 = quite often crashes while changing channels
Please try VMR/VMR9 with disabled OSD. May be problem in OSD ...