memory leak in 0.2.2 (1 Viewer)

jdivic

Portal Pro
October 25, 2005
64
0
54
Croatia
MediaPortal Version: 0.2.2
MediaPortal Skin: Project Mainhem III
Windows Version: XP Home
CPU Type: P4 2.4GHz
HDD: 120GB+250GB
Memory: 512MB
Motherboard: ASUS PX400-X
Motherboard Chipset:
Motherboard Bios:
Video Card: ATI Radeon 9550
Video Card Driver: latest catalyst
Sound Card: on board Sound Max
Sound Card AC3: yes
Sound Card Driver: come with motherboard
1. TV Card: PVR150
1. TV Card Type: analog
1. TV Card Driver: latest from hauppauge
2. TV Card: NOVA-T
2. TV Card Type: DVB-T
2. TV Card Driver: latest from hauppauge
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: MPV
MPEG2 Audio Codec: MPA
Satelite/CableTV Provider: DCM
HTPC Case: Silverstone LC 16M
Cooling: soundtower
Power Supply: -
Remote: Soundgraph iMON
TV: LG 42" PDP
TV - HTPC Connection: DVI


It seams that my MediaPortal 0.2.2 has memory leak and I would like to know does any one out there has same experience. I'm not posting logs right now because first I would like to know is this my system specific issue. Well, how to reproduce this problem? Actually quite easy… my MP 0.2.2 allocates about 10-20MB every time it constructs directshow graph, but when graph is destroyed memory is not released. So every play-stop of recorded TV show and every background recording (yes, not only graphs are rendered to screen have this problem) adds 10-20MB to MP's footprint and it easily grows to over 800MB. Since this is quite obvious memory leak I suppose that it is something about my .net or directx and not MP, so I would like to ask you to check with your MP 0.2.2 installations.
I don't use TV server, and I'm using MPV/MPA codecs but I think it is not codec specific problem because recording graphs don't use codecs…

thx
 

funkstar

Retired Team Member
  • Premium Supporter
  • August 9, 2005
    771
    28
    Home
    Home Country
    Scotland Scotland
    Try deleting the TV cards and deleting the database as well. I've had this a couple of times when i've changed versions and been playing around.

    I don't know what causes it, but that seems to fix it.
     

    jdivic

    Portal Pro
    October 25, 2005
    64
    0
    54
    Croatia
    well, you may be right... i found something interesting... first, every entry to recorded tv allocates about 15MB and never returns it... than every playing of show from recorded tv gets another 10-20MB... so, maybe it is not problem with DX wich I previously suspected... maybe it is database problem... but I deleted all databases (from database directory) and let MP create new ones... unfortunatly didn't help... this behaviour is observed on 3 different systems... so... maybe it is problem in MP... any new observations or suggestions are more than welcome.

    EDIT 1: After long investigation it seems that problem is in generating thumbs for recorded shows... if MP founds recorded shows without thumb in thumbs\tv\recorded directory it tries to generate one using DvrMsImageGrabber... since no thumb is generated and memory isn't released i supose that DvrMsImageGrabber hangs... so... does anybody know how to stop MP traying to generate thumbs for recorded shows or what is possible reason for this behaviour of DvrMsImageGrabber
     

    Users who are viewing this thread

    Top Bottom